X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=jail%2Ffs.c;fp=jail%2Ffs.c;h=81e6c61309956d655e24cc77bb4a339d1b467c8c;hb=fa5ce1c2b4fe3fa6bb4bbc6697961655b952d8d4;hp=c4cdcc93d6cdfb5c2329468e6929ca12a3cbe81c;hpb=6900a6be63c63707c304cfe79c7469725fd07c11;p=project%2Fprocd.git diff --git a/jail/fs.c b/jail/fs.c index c4cdcc9..81e6c61 100644 --- 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; }