]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Don't report on the failed dhcpcd component for realpath
authorRoy Marples <roy@marples.name>
Thu, 8 Nov 2007 11:46:16 +0000 (11:46 +0000)
committerRoy Marples <roy@marples.name>
Thu, 8 Nov 2007 11:46:16 +0000 (11:46 +0000)
dhcpcd.c

index 08d917f6a6ab104411d9f8346c2e5d24fd5f4598..d52bfd76d5b8a1c4f996204e0f365e1a3179baa8 100644 (file)
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -424,8 +424,8 @@ int main(int argc, char **argv)
        dhcpcd_argv = argv;
        dhcpcd_argc = argc;
        if (! realpath (argv[0], dhcpcd)) {
-               logger (LOG_ERR, "unable to resolve the path `%s' (%s): %s",
-                               argv[0], dhcpcd, strerror (errno));
+               logger (LOG_ERR, "unable to resolve the path `%s': %s",
+                               argv[0], strerror (errno));
                exit (EXIT_FAILURE);
        }
 #endif