aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/arping.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/arping.c b/networking/arping.c
index a4421edcb..dbfd75ef5 100644
--- a/networking/arping.c
+++ b/networking/arping.c
@@ -284,7 +284,6 @@ int arping_main(int argc UNUSED_PARAM, char **argv)
284 // Need to remove SUID_NEVER from applets.h for this to work 284 // Need to remove SUID_NEVER from applets.h for this to work
285 //xsetuid(getuid()); 285 //xsetuid(getuid());
286 286
287 err_str = xasprintf("interface %s %%s", device);
288 { 287 {
289 unsigned opt; 288 unsigned opt;
290 char *str_timeout; 289 char *str_timeout;
@@ -302,7 +301,7 @@ int arping_main(int argc UNUSED_PARAM, char **argv)
302 } 301 }
303 302
304 target = argv[optind]; 303 target = argv[optind];
305 304 err_str = xasprintf("interface %s %%s", device);
306 xfunc_error_retval = 2; 305 xfunc_error_retval = 2;
307 306
308 { 307 {