Commit 75a0d069 authored by Simon McVittie's avatar Simon McVittie
Browse files

bus: Show the errno if inotify cannot be initialized



This will hopefully help to indicate why.
Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
parent 5eb3615c
Pipeline #463362 passed with stage
in 9 minutes and 31 seconds
......@@ -236,7 +236,7 @@ _init_inotify (BusContext *context)
#endif
if (inotify_fd < 0)
{
_dbus_warn ("Cannot initialize inotify");
_dbus_warn ("Cannot initialize inotify: %s", _dbus_strerror (errno));
goto out;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment