better error message
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Wed, 21 Jun 1995 00:37:37 +0000 (16:37 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Wed, 21 Jun 1995 00:37:37 +0000 (16:37 -0800)
SCCS-vsn: usr.sbin/sendmail/src/daemon.c 8.104

usr/src/usr.sbin/sendmail/src/daemon.c

index 6c41a78..71b6685 100644 (file)
@@ -12,9 +12,9 @@
 
 #ifndef lint
 #ifdef DAEMON
 
 #ifndef lint
 #ifdef DAEMON
-static char sccsid[] = "@(#)daemon.c   8.103 (Berkeley) %G% (with daemon mode)";
+static char sccsid[] = "@(#)daemon.c   8.104 (Berkeley) %G% (with daemon mode)";
 #else
 #else
-static char sccsid[] = "@(#)daemon.c   8.103 (Berkeley) %G% (without daemon mode)";
+static char sccsid[] = "@(#)daemon.c   8.104 (Berkeley) %G% (without daemon mode)";
 #endif
 #endif /* not lint */
 
 #endif
 #endif /* not lint */
 
@@ -394,7 +394,7 @@ gothostent:
                if (s < 0)
                {
                        sav_errno = errno;
                if (s < 0)
                {
                        sav_errno = errno;
-                       syserr("makeconnection: no socket");
+                       syserr("makeconnection: cannot create socket");
                        goto failure;
                }
 
                        goto failure;
                }