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

index dde51781e429197a46a60838275205f613e64b30..5a944033e6b878aae3cc6d81c0d4e3a64144fe7f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: main.c,v 1.22 2005-04-28 20:49:43 bfernhomberg Exp $
+ * $Id: main.c,v 1.23 2006-08-01 09:01:32 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);