projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0af2f04
)
Need one more character for the flags with CoW.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Fri, 20 Nov 2009 12:19:31 +0000 (12:19 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Fri, 20 Nov 2009 12:19:31 +0000 (12:19 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2857
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
src/showattr.c
patch
|
blob
|
history
diff --git
a/src/showattr.c
b/src/showattr.c
index
b6694b7
..
aa6b6be
100644
(file)
--- a/
src/showattr.c
+++ b/
src/showattr.c
@@
-128,11
+128,11
@@
handleFile(char const *name, char const *display_name)
}
}
else {
- memcpy(buf, "ERR ", 8);
+ memcpy(buf, "ERR ", 9);
res = false;
}
- Vwrite(1, buf, 9);
+ Vwrite(1, buf, 10);
Vwrite(1, display_name, strlen(display_name));
Vwrite(1, "\n", 1);