← Commit list

d6a8f5f0d

Mike Frysinger
Mike Frysinger
2005-04-25
FAILED Duration: 30s

Subject

use a generic error message

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 →

e2fsprogs/chattr.c+1 -1
@@ -169,7 +169,7 @@ static int chattr_dir_proc(const char *dir_name, struct dirent *de,
(de->d_name[1] == '.' && de->d_name[2] == '\0'))) {
char *path;
if (asprintf(&path, "%s/%s", dir_name, de->d_name) == -1)
- bb_error_msg_and_die("asprintf failed");
+ bb_error_msg_and_die(bb_msg_memory_exhausted);
change_attributes(path);
free(path);
}
e2fsprogs/lsattr.c+1 -1
@@ -108,7 +108,7 @@ static int lsattr_dir_proc(const char *dir_name, struct dirent *de,
else
i = asprintf(&path, "%s/%s", dir_name, de->d_name);
if (i == -1)
- bb_perror_msg_and_die("asprintf failed");
+ bb_error_msg_and_die(bb_msg_memory_exhausted);
if (LSTAT(path, &st) == -1)
bb_perror_msg(path);