diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2012-09-27 15:35:10 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-09-27 15:35:10 +0200 |
commit | 9371043698933452bb69566f279a6e40af961c8c (patch) | |
tree | 48297fb38a1e17cd91445aa058d0a4bdce111ce8 /e2fsprogs | |
parent | 225cc1327a9a3786d0c5317ea1a8342f8c04f0d8 (diff) | |
download | busybox-w32-9371043698933452bb69566f279a6e40af961c8c.tar.gz busybox-w32-9371043698933452bb69566f279a6e40af961c8c.tar.bz2 busybox-w32-9371043698933452bb69566f279a6e40af961c8c.zip |
fix unsafe bb_perror_msg(filename) calls
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs')
-rw-r--r-- | e2fsprogs/old_e2fsprogs/lsattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsprogs/old_e2fsprogs/lsattr.c b/e2fsprogs/old_e2fsprogs/lsattr.c index 9e0e4cb60..9eab68b5b 100644 --- a/e2fsprogs/old_e2fsprogs/lsattr.c +++ b/e2fsprogs/old_e2fsprogs/lsattr.c | |||
@@ -93,7 +93,7 @@ static int lsattr_dir_proc(const char *dir_name, struct dirent *de, | |||
93 | path = concat_path_file(dir_name, de->d_name); | 93 | path = concat_path_file(dir_name, de->d_name); |
94 | 94 | ||
95 | if (lstat(path, &st) == -1) | 95 | if (lstat(path, &st) == -1) |
96 | bb_perror_msg(path); | 96 | bb_simple_perror_msg(path); |
97 | else { | 97 | else { |
98 | if (de->d_name[0] != '.' || (flags & OPT_ALL)) { | 98 | if (de->d_name[0] != '.' || (flags & OPT_ALL)) { |
99 | list_attributes(path); | 99 | list_attributes(path); |