diff --git a/reactos/subsys/system/cmd/internal.c b/reactos/subsys/system/cmd/internal.c index 325676fb077..560344ac6c3 100644 --- a/reactos/subsys/system/cmd/internal.c +++ b/reactos/subsys/system/cmd/internal.c @@ -535,7 +535,7 @@ BOOL DeleteFolder(LPTSTR FileName) } INT cmd_rmdir (LPTSTR cmd, LPTSTR param) { - LPTSTR dir; /* pointer to the directory to change to */ + TCHAR dir[MAX_PATH]; /* pointer to the directory to change to */ char ch; INT args; LPTSTR *arg = NULL;