diff options
author | Simon McVittie <smcv@collabora.com> | 2021-12-10 13:09:15 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-02-28 22:50:26 +0000 |
commit | 25e22b2540d04aa66341def929081b477a28a4cd (patch) | |
tree | 9c613949b90d01327c4fe6c41e711490c48ab72d /bus | |
parent | 7e61e0b53b2555cdd6256b446a2422a6bf969114 (diff) | |
download | dbus-25e22b2540d04aa66341def929081b477a28a4cd.tar.gz |
bus: Show the errno if inotify cannot be initialized
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'bus')
-rw-r--r-- | bus/dir-watch-inotify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/dir-watch-inotify.c b/bus/dir-watch-inotify.c index 6cc02968..b52a24c0 100644 --- a/bus/dir-watch-inotify.c +++ b/bus/dir-watch-inotify.c @@ -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; } |