← Commit list

7dd61e377

Marek Polacek
Marek Polacek
2010-09-12
FAILED Duration: 348s

Subject

*: s/perror/bb_simple_perror_msg/g

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

editors/ed.c+5 -5
@@ -671,7 +671,7 @@ static int readLines(const char *file, int num)
fd = open(file, 0);
if (fd < 0) {
- perror(file);
+ bb_simple_perror_msg(file);
return FALSE;
}
@@ -721,7 +721,7 @@ static int readLines(const char *file, int num)
} while (cc > 0);
if (cc < 0) {
- perror(file);
+ bb_simple_perror_msg(file);
close(fd);
return FALSE;
}
@@ -761,7 +761,7 @@ static int writeLines(const char *file, int num1, int num2)
fd = creat(file, 0666);
if (fd < 0) {
- perror(file);
+ bb_simple_perror_msg(file);
return FALSE;
}
@@ -776,7 +776,7 @@ static int writeLines(const char *file, int num1, int num2)
while (num1++ <= num2) {
if (full_write(fd, lp->data, lp->len) != lp->len) {
- perror(file);
+ bb_simple_perror_msg(file);
close(fd);
return FALSE;
}
@@ -786,7 +786,7 @@ static int writeLines(const char *file, int num1, int num2)
}
if (close(fd) < 0) {
- perror(file);
+ bb_simple_perror_msg(file);
return FALSE;
}
modutils/modutils-24.c+1 -1
@@ -3561,7 +3561,7 @@ static void check_tainted_module(struct obj_file *f, const char *m_name)
else if (errno == EACCES)
kernel_has_tainted = 1;
else {
- perror(TAINT_FILENAME);
+ bb_simple_perror_msg(TAINT_FILENAME);
kernel_has_tainted = 0;
}
}