diff options
author | Rob Landley <rob@landley.net> | 2007-11-04 15:31:06 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-11-04 15:31:06 -0600 |
commit | 961e17193887734ec977e93618bba0f045951d43 (patch) | |
tree | 118ca605757c38a248f69b86a37c0fbcac9c792a /lib/lib.c | |
parent | 8ae467cdd0d90bed82ee7561e9be5bfbbc9952e1 (diff) | |
download | toybox-961e17193887734ec977e93618bba0f045951d43.tar.gz |
xcreate(): perror already prints error name and newline, remove redundancy.
Diffstat (limited to 'lib/lib.c')
-rw-r--r-- | lib/lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -188,7 +188,7 @@ void xaccess(char *path, int flags) int xcreate(char *path, int flags, int mode) { int fd = open(path, flags, mode); - if (fd == -1) perror_exit("No file %s\n", path); + if (fd == -1) perror_exit("%s", path); return fd; } |