mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 03:29:43 +00:00
util/osdep.c: Fix qemu_mkdir missing return value
This commit is contained in:
parent
3c836586be
commit
7cbe9d337a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user