diff toys/other/ifconfig.c @ 1518:4bfbd8b96f66 draft

Various bugfixes (mostly resource leaks) from Ashwini Sharma's static analysis, plus occasional tweak by me while reviewing them.
author Rob Landley <rob@landley.net>
date Thu, 09 Oct 2014 13:43:32 -0500
parents 00c20f410c46
children 8d52be1c6cf3
line wrap: on
line diff
--- a/toys/other/ifconfig.c	Thu Oct 09 12:17:36 2014 -0500
+++ b/toys/other/ifconfig.c	Thu Oct 09 13:43:32 2014 -0500
@@ -6,7 +6,7 @@
  *
  * Not in SUSv4.
 
-USE_IFCONFIG(NEWTOY(ifconfig, "?a", TOYFLAG_BIN))
+USE_IFCONFIG(NEWTOY(ifconfig, "^?a", TOYFLAG_BIN))
 
 config IFCONFIG
   bool "ifconfig"