diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-05-30 16:35:23 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-05-30 16:35:23 +0000 |
commit | 693260798f9e1844f724df317259de0b7354e4fa (patch) | |
tree | 723d1dd9ec319d1db64d0c82355c679c31063db1 /usr.sbin | |
parent | f5b42422e4d740dc1841dd6d1060246ab480a379 (diff) |
Better error message.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/hotplugd/hotplugd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/hotplugd/hotplugd.c b/usr.sbin/hotplugd/hotplugd.c index 108ff133a30..7933f302db9 100644 --- a/usr.sbin/hotplugd/hotplugd.c +++ b/usr.sbin/hotplugd/hotplugd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hotplugd.c,v 1.2 2004/05/30 16:29:41 grange Exp $ */ +/* $OpenBSD: hotplugd.c,v 1.3 2004/05/30 16:35:22 grange Exp $ */ /* * Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> * @@ -142,7 +142,7 @@ exec_script(const char *file, int class, char *name) if (pid == 0) { /* child process */ execl(file, basename(file), strclass, name, (char *)NULL); - syslog(LOG_ERR, "execl: %m"); + syslog(LOG_ERR, "execl %s: %m", file); _exit(1); /* NOTREACHED */ } else { |