projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ae467c
)
xcreate(): perror already prints error name and newline, remove redundancy.
author
Rob Landley
<rob@landley.net>
Sun, 4 Nov 2007 21:31:06 +0000
(15:31 -0600)
committer
Rob Landley
<rob@landley.net>
Sun, 4 Nov 2007 21:31:06 +0000
(15:31 -0600)
lib/lib.c
patch
|
blob
|
history
diff --git
a/lib/lib.c
b/lib/lib.c
index
fe85c5f
..
95ba121
100644
(file)
--- a/
lib/lib.c
+++ b/
lib/lib.c
@@
-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;
}