diff --git a/reactos/subsys/system/cmd/del.c b/reactos/subsys/system/cmd/del.c index 35a240d7f1f..5e2d758d088 100644 --- a/reactos/subsys/system/cmd/del.c +++ b/reactos/subsys/system/cmd/del.c @@ -201,7 +201,7 @@ DeleteFiles(LPTSTR FileName, DWORD* dwFlags, DWORD dwAttrFlags) } } - GetFullPathName (FileName, + GetFullPathName (szFileName, MAX_PATH, szFullPath, &pFilePart);