diff options
Diffstat (limited to 'tests/migration/stress.c')
-rw-r--r-- | tests/migration/stress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/migration/stress.c b/tests/migration/stress.c index b7240a1..88acf8d 100644 --- a/tests/migration/stress.c +++ b/tests/migration/stress.c @@ -232,7 +232,7 @@ static void stress(unsigned long long ramsizeGB, int ncpus) static int mount_misc(const char *fstype, const char *dir) { - if (mkdir(dir, 0755) < 0 && errno != EEXIST) { + if (g_mkdir_with_parents(dir, 0755) < 0 && errno != EEXIST) { fprintf(stderr, "%s (%05d): ERROR: cannot create %s: %s\n", argv0, gettid(), dir, strerror(errno)); return -1; |