]> err.no Git - systemd/commitdiff
"'/sbin/modprobe abnormal' exit" - also print program options
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 19 Dec 2008 23:03:53 +0000 (00:03 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 19 Dec 2008 23:03:53 +0000 (00:03 +0100)
udev/udev-util.c

index 271941b8ff78303edea86914370d4e3fe62590b7..3d5eb7657c40b812e14b6a395e5e8a0629930710 100644 (file)
@@ -444,7 +444,7 @@ int util_run_program(struct udev *udev, const char *command, char **envp,
                        if (WEXITSTATUS(status) != 0)
                                err = -1;
                } else {
-                       err(udev, "'%s' abnormal exit\n", argv[0]);
+                       err(udev, "'%s' abnormal exit\n", command);
                        err = -1;
                }
        }