Searched refs:uml_dir (Results 1 – 1 of 1) sorted by relevance
28 static char *uml_dir = UML_DIR; variable35 if (*uml_dir == '~') { in make_uml_dir()45 uml_dir++; in make_uml_dir()47 strlcat(dir, uml_dir, sizeof(dir)); in make_uml_dir()53 uml_dir = malloc(strlen(dir) + 1); in make_uml_dir()54 if (uml_dir == NULL) { in make_uml_dir()58 strcpy(uml_dir, dir); in make_uml_dir()60 if ((mkdir(uml_dir, 0777) < 0) && (errno != EEXIST)) { in make_uml_dir()61 printf("Failed to mkdir '%s': %s\n", uml_dir, strerror(errno)); in make_uml_dir()68 free(uml_dir); in make_uml_dir()[all …]