automount: log info about triggering process

This commit is contained in:
Kay Sievers
2013-11-28 01:25:10 +01:00
parent 28b99ccdcb
commit 5acac4c814
+2 -2
View File
@@ -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);