udhcpc: log script parameter too
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 2 Nov 2009 17:53:57 +0000 (18:53 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 2 Nov 2009 17:53:57 +0000 (18:53 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/script.c

index f315008a33f51bad533ffa258f4fd444572f8648..065ea0cc7f0c401a4a0a20eea5aaa4151dfc9bda 100644 (file)
@@ -267,7 +267,7 @@ void FAST_FUNC udhcp_run_script(struct dhcp_packet *packet, const char *name)
        envp = fill_envp(packet);
 
        /* call script */
-       log1("Executing %s", client_config.script);
+       log1("Executing %s %s", client_config.script, name);
        argv[0] = (char*) client_config.script;
        argv[1] = (char*) name;
        argv[2] = NULL;