]> arthur.barton.de Git - netatalk.git/commitdiff
if there's no server configured, errno is undefined
authordidg <didg>
Tue, 1 Aug 2006 08:42:45 +0000 (08:42 +0000)
committerdidg <didg>
Tue, 1 Aug 2006 08:42:45 +0000 (08:42 +0000)
etc/afpd/main.c

index a044e466d708c1a651436b50c6fa6f3a383321d2..24e5e5930283ab5eeb71b7753274eb1647f84fd0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: main.c,v 1.20.4.2.2.9 2004-05-12 21:21:48 didg Exp $
+ * $Id: main.c,v 1.20.4.2.2.9.2.1 2006-08-01 08:42:45 didg Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -279,7 +279,7 @@ char        **av;
 
     sigprocmask(SIG_BLOCK, &sigs, NULL);
     if (!(configs = configinit(&default_options))) {
-        LOG(log_error, logtype_afpd, "main: no servers configured: %s", strerror(errno));
+        LOG(log_error, logtype_afpd, "main: no servers configured");
         afp_exit(EXITERR_CONF);
     }
     sigprocmask(SIG_UNBLOCK, &sigs, NULL);