-LRN: fix syscall name
authorChristian Grothoff <christian@grothoff.org>
Fri, 30 Dec 2011 21:38:56 +0000 (21:38 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 30 Dec 2011 21:38:56 +0000 (21:38 +0000)
src/util/common_logging.c

index 18b03d0ebbd15d90f7202c6bbe45761223594ec2..c358e6fd8cef0a40e046e3230037ae9e9ac442c5 100644 (file)
@@ -604,7 +604,7 @@ GNUNET_log_setup (const char *comp, const char *loglevel, const char *logfile)
   }
   if (altlog_fd == -1)
   {
-    GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "fopen", fn);
+    GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR, "open", fn);
     if (dirwarn)
       GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                   _("Failed to create or access directory for log file `%s'\n"),