projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
procd: Replace strerror(errno) with %m.
[project/procd.git]
/
jail
/
fs.c
diff --git
a/jail/fs.c
b/jail/fs.c
index c4cdcc93d6cdfb5c2329468e6929ca12a3cbe81c..81e6c61309956d655e24cc77bb4a339d1b467c8c 100644
(file)
--- a/
jail/fs.c
+++ b/
jail/fs.c
@@
-135,7
+135,7
@@
int add_path_and_deps(const char *path, int readonly, int error, int lib)
struct stat s;
if (fstat(fd, &s) == -1) {
- ERROR("fstat(%s) failed: %
s\n", path, strerror(errno)
);
+ ERROR("fstat(%s) failed: %
m\n", path
);
ret = error;
goto out;
}