X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fstatic.c;h=3110da191d8e4abb9372ddb65b05c84bc02cbf35;hb=855073983438f28a7672b39a679da6b5bac541e9;hp=650db18f02e3061fcdf11ca6abd4ddc23452f6ab;hpb=3c1ebe35ca680369335a5440bc96785178c61a33;p=citadel.git diff --git a/webcit/static.c b/webcit/static.c index 650db18f0..3110da191 100644 --- a/webcit/static.c +++ b/webcit/static.c @@ -61,7 +61,7 @@ void output_static(const char *what) { } else { if (fstat(fd, &statbuf) == -1) { - syslog(LOG_INFO, "output_static('%s') -- FSTAT FAILED --\n", what); + syslog(LOG_INFO, "output_static('%s') : %s", what, strerror(errno)); if (strstr(content_type, "image/") != NULL) { output_error_pic("Stat failed!", strerror(errno)); }