diff options
author | Ashwini Sharma <ak.ashwini1981@gmail.com> | 2014-08-12 07:09:01 -0500 |
---|---|---|
committer | Ashwini Sharma <ak.ashwini1981@gmail.com> | 2014-08-12 07:09:01 -0500 |
commit | 7eb3e4364c2bcebd2fdfef52c07f5101aa03e5bb (patch) | |
tree | 3a71927fe5198488d24af53b030d71797b67de35 /toys/other | |
parent | 6a77734d1b1ac1938abbc33014b60cfb49828824 (diff) | |
download | toybox-7eb3e4364c2bcebd2fdfef52c07f5101aa03e5bb.tar.gz |
Patches to commands for issues reported from static analysis tool.
portability.h.patch - it is for O_CLOEXEC, as compiler complained of it.
Makefile.patch - for cleaning generated/*.o files and libopts.dat file
[Fixup to uniq.c from Rob.]
Diffstat (limited to 'toys/other')
-rw-r--r-- | toys/other/ifconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/ifconfig.c b/toys/other/ifconfig.c index a84e26ac..f5d4215e 100644 --- a/toys/other/ifconfig.c +++ b/toys/other/ifconfig.c @@ -421,7 +421,7 @@ void ifconfig_main(void) } if ((p-ptr) != count || *hw_addr) - error_exit("bad hw-addr '%s'", hw_addr ? hw_addr : ""); + error_exit("bad hw-addr '%s'", *argv); // the linux kernel's "struct sockaddr" (include/linux/socket.h in the // kernel source) only has 14 bytes of sa_data, and an infiniband address |