src/scanner.c

changeset 58
bb512754aaf3
parent 57
68018eac46c3
child 60
69be673a4fd0
     1.1 --- a/src/scanner.c	Thu Aug 23 19:45:36 2018 +0200
     1.2 +++ b/src/scanner.c	Sat Jul 25 17:42:51 2020 +0200
     1.3 @@ -49,8 +49,8 @@
     1.4    struct stat statbuf;
     1.5    
     1.6    if ((dirf = opendir(scanner.dir)) == NULL) {
     1.7 -    printf("%s", scanner.dir);
     1.8 -    perror("  Directory access failed");
     1.9 +    fprintf(stderr, "%s - ", scanner.dir);
    1.10 +    perror("Directory access failed");
    1.11      return 0;
    1.12    }
    1.13  

mercurial