*: s/perror/bb_simple_perror_msg/g
function old new delta
readLines 448 446 -2
doCommands 2449 2438 -11
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-13) Total: -13 bytes
Signed-off-by: Marek Polacek <mmpolacek@gmail.com>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
diff --git a/modutils/modutils-24.c b/modutils/modutils-24.c
index 7228954..2b34954 100644
--- a/modutils/modutils-24.c
+++ b/modutils/modutils-24.c
@@ -3561,7 +3561,7 @@
else if (errno == EACCES)
kernel_has_tainted = 1;
else {
- perror(TAINT_FILENAME);
+ bb_simple_perror_msg(TAINT_FILENAME);
kernel_has_tainted = 0;
}
}