diff --git a/programs/attrib/attrib.c b/programs/attrib/attrib.c index 1af9e73e4dd..eb497ee54ea 100644 --- a/programs/attrib/attrib.c +++ b/programs/attrib/attrib.c @@ -126,7 +126,7 @@ int wmain(int argc, WCHAR *argv[]) DWORD count; HANDLE hff; WIN32_FIND_DATAW fd; - WCHAR flags[9] = {' ',' ',' ',' ',' ',' ',' ',' ','\0'}; + WCHAR flags[] = {' ',' ',' ',' ',' ',' ',' ',' ','\0'}; WCHAR name[128]; WCHAR *param = argc >= 2 ? argv[1] : NULL; DWORD attrib_set = 0;