X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fautomount.c;h=6cf3c311b3995e3c0114060d9c067fb09399c1be;hb=94fb446e55babb713fb24850455627acf30d999b;hp=29b807de515a1fbc76dae742e23f9c126f122fe7;hpb=0c85a4f3efa2883c414ed8ff59aea263b85b7687;p=elogind.git diff --git a/src/automount.c b/src/automount.c index 29b807de5..6cf3c311b 100644 --- a/src/automount.c +++ b/src/automount.c @@ -770,7 +770,7 @@ static void automount_fd_event(Unit *u, int fd, uint32_t events, Watch *w) { if (packet.v5_packet.pid > 0) { char *p = NULL; - get_process_name(packet.v5_packet.pid, &p); + get_process_comm(packet.v5_packet.pid, &p); log_debug("Got direct mount request for %s, triggered by %lu (%s)", packet.v5_packet.name, (unsigned long) packet.v5_packet.pid, strna(p)); free(p);