|
@@ -10,6 +10,7 @@
|
|
|
*/
|
|
|
|
|
|
#include "qemu/osdep.h"
|
|
|
+#include <glib/gstdio.h>
|
|
|
#include <sys/resource.h>
|
|
|
#include <getopt.h>
|
|
|
#include <syslog.h>
|
|
@@ -639,7 +640,7 @@ static int do_create_others(int type, struct iovec *iovec)
|
|
|
if (retval < 0) {
|
|
|
goto err_out;
|
|
|
}
|
|
|
- retval = mkdir(path.data, mode);
|
|
|
+ retval = g_mkdir(path.data, mode);
|
|
|
break;
|
|
|
case T_SYMLINK:
|
|
|
retval = proxy_unmarshal(iovec, offset, "ss", &oldpath, &path);
|