From 02287a7e9842639a88382b0fd175b1686b0f5335 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Fri, 20 Nov 2009 12:19:31 +0000 Subject: [PATCH] Need one more character for the flags with CoW. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2857 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- src/showattr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/showattr.c b/src/showattr.c index b6694b7..aa6b6be 100644 --- 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); -- 1.8.1.5