- note to cleanup fprintf(2,...) -> bb_error_msg(...) and
perror("bar") -> bb_perror_msg("bar");
This commit is contained in:
1 parent
1b9d7c9aa9
commit
395010b1f0
1 file changed
+6
@@ -260,6 +260,12 @@ Minor stuff:
|
||||
Unfortunately, that needs linux/watchdog.h and that contains unfiltered
|
||||
kernel types on some distros, which breaks the build.
|
||||
|
||||
use bb_error_msg where appropriate: See
|
||||
egrep "(printf.*\([[:space:]]*(stderr|2)|[^_]write.*\([[:space:]]*(stderr|2))"
|
||||
|
||||
use bb_perror_msg where appropriate: See
|
||||
egrep "[^_]perror"
|
||||
|
||||
|
||||
Code cleanup:
|
||||
|
||||
|
||||
Reference in new issue
Block a user