X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fautomount.c;h=c6e0a74707c7648344798daa6bf9fed2083bb9e1;hb=08c6f819cb0ed435649583da02fa0de965b32dbe;hp=49a64b124f63260cd55c9703639891a602c247ab;hpb=718db96199eb307751264e4163555662c9a389fa;p=elogind.git diff --git a/src/core/automount.c b/src/core/automount.c index 49a64b124..c6e0a7470 100644 --- a/src/core/automount.c +++ b/src/core/automount.c @@ -304,7 +304,7 @@ static int open_dev_autofs(Manager *m) { m->dev_autofs_fd = open("/dev/autofs", O_CLOEXEC|O_RDONLY); if (m->dev_autofs_fd < 0) { - log_error("Failed to open /dev/autofs: %s", strerror(errno)); + log_error("Failed to open /dev/autofs: %m"); return -errno; } @@ -773,8 +773,8 @@ static int automount_dispatch_io(sd_event_source *s, int fd, uint32_t events, vo _cleanup_free_ char *p = NULL; get_process_comm(packet.v5_packet.pid, &p); - log_debug_unit(UNIT(a)->id, - "Got direct mount request on %s, triggered by %lu (%s)", + log_info_unit(UNIT(a)->id, + "Got automount request for %s, triggered by %lu (%s)", a->where, (unsigned long) packet.v5_packet.pid, strna(p)); } else log_debug_unit(UNIT(a)->id, "Got direct mount request on %s", a->where);