mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-04-20 15:20:40 +02:00
bus: Show the errno if inotify cannot be initialized
Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit 25e22b2540)
Backported-from: dbus!235
This commit is contained in:
parent
73240b300e
commit
052a2bead8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue