mirror of https://github.com/xemu-project/xemu.git
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) {
|
if (!dirResult) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
#else
|
#else
|
||||||
return mkdir(path, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
|
return mkdir(path, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue