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
c4cdcc9
..
81e6c61
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;
}