commit | 9371043698933452bb69566f279a6e40af961c8c | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Thu Sep 27 15:35:10 2012 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Thu Sep 27 15:35:10 2012 +0200 |
tree | 48297fb38a1e17cd91445aa058d0a4bdce111ce8 | |
parent | 225cc1327a9a3786d0c5317ea1a8342f8c04f0d8 [diff] [blame] |
fix unsafe bb_perror_msg(filename) calls Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/coreutils/stat.c b/coreutils/stat.c index 3fb212f..e38c8f6 100644 --- a/coreutils/stat.c +++ b/coreutils/stat.c
@@ -442,7 +442,7 @@ : getfilecon(filename, &scontext) ) < 0 ) { - bb_perror_msg(filename); + bb_simple_perror_msg(filename); return 0; } } @@ -555,7 +555,7 @@ : getfilecon(filename, &scontext) ) < 0 ) { - bb_perror_msg(filename); + bb_simple_perror_msg(filename); return 0; } }