Improve mkdir output

This commit is contained in:
Enrico Fraccaroli (Galfurian)
2023-08-11 13:28:19 -04:00
parent 954f6342ec
commit cd6f876fa8
+2 -1
View File
@@ -24,7 +24,8 @@ int main(int argc, char *argv[])
return 0;
}
if (mkdir(argv[1], S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH)) {
printf("mkdir: cannot create directory '%s': %s\n\n", argv[1], strerror(errno));
printf("mkdir: cannot create directory '%s': %s\n", argv[1], strerror(errno));
}
putchar('\n');
return 0;
}