From: Roy Marples Date: Thu, 8 Nov 2007 11:46:16 +0000 (+0000) Subject: Don't report on the failed dhcpcd component for realpath X-Git-Tag: v3.2.3~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd86d5270039653a6fd99bc2cb7d002057637649;p=thirdparty%2Fdhcpcd.git Don't report on the failed dhcpcd component for realpath --- diff --git a/dhcpcd.c b/dhcpcd.c index 08d917f6..d52bfd76 100644 --- 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