util/osdep.c: Fix qemu_mkdir missing return value

This commit is contained in:
Matt Borgerson 2023-01-23 12:47:25 -07:00
parent 3c836586be
commit 7cbe9d337a

View File

@ -476,6 +476,8 @@ int qemu_mkdir(const char *path)
if (!dirResult) {
return -1;
}
return 0;
#else
return mkdir(path, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
#endif