OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
merge in oc-release history after reset to master
[android-x86/external-toybox.git]
/
toys
/
posix
/
head.c
diff --git
a/toys/posix/head.c
b/toys/posix/head.c
index
5867dfb
..
f300760
100644
(file)
--- a/
toys/posix/head.c
+++ b/
toys/posix/head.c
@@
-39,7
+39,7
@@
static void do_head(int fd, char *name)
while (lines) {
len = read(fd, toybuf, size);
- if (len<0) perror_msg
("%s",
name);
+ if (len<0) perror_msg
_raw(
name);
if (len<1) break;
for(i=0; i<len;) if (toybuf[i++] == '\n' && !--lines) break;