Match-id-db6162815a2e2a0e6c5b6445422d421f7fea53ca

This commit is contained in:
BianTanggui
2022-01-25 20:05:24 +08:00
parent 7ed6cd6250
commit 83fa610231

View File

@@ -173,7 +173,7 @@ int CheckLegality(const char* filename)
fprintf(stderr, "Please check the write permission!\n");
return -1;
}
} while(strcmp(dirname(buf), "/"));
} while (strcmp(dirname(buf), "/"));
return 0;
}