File 0430-fileRepository-opendir-error.patch of Package sblim-sfcb-sle11-sp1

diff -wruN ../orig-sblim-sfcb-1.3.6/fileRepository.c ./fileRepository.c
--- ../orig-sblim-sfcb-1.3.6/fileRepository.c	2009-11-09 22:03:30.000000000 +0100
+++ ./fileRepository.c	2010-01-15 14:04:34.000000000 +0100
@@ -573,7 +573,7 @@
 #endif
     
    if ((d=opendir(fn))==NULL) {
-      perror("opendir");
+      fprintf(stderr, "opendir: %s: %s\n", fn, strerror(errno));
       return 0;
    }   
    closedir(d);
openSUSE Build Service is sponsored by