In Windows convert backslash to forward slash.

This commit is contained in:
Andrea Mazzoleni 2011-05-03 23:28:03 +02:00
parent 61eb8e802f
commit 5a2e118c38
9 changed files with 25 additions and 21 deletions

2
scan.c
View file

@ -214,7 +214,7 @@ static void scan_dir(struct snapraid_scan* scan, struct snapraid_state* state, s
pathprint(sub_next, sizeof(sub_next), "%s%s", sub, name);
if (stat(path_next, &st) != 0) {
fprintf(stderr, "Error in stat file '%s'\n", path_next);
fprintf(stderr, "Error in stat file/directory '%s'\n", path_next);
exit(EXIT_FAILURE);
}