replace warnx message
authorgilles <gilles@openbsd.org>
Sat, 19 Apr 2014 17:24:59 +0000 (17:24 +0000)
committergilles <gilles@openbsd.org>
Sat, 19 Apr 2014 17:24:59 +0000 (17:24 +0000)
usr.sbin/smtpd/delivery_lmtp.c

index 8fb4787..381d732 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: delivery_lmtp.c,v 1.5 2014/04/19 11:29:06 gilles Exp $ */
+/* $OpenBSD: delivery_lmtp.c,v 1.6 2014/04/19 17:24:59 gilles Exp $ */
 
 /*
  * Copyright (c) 2013 Ashish SHUKLA <ashish.is@lostca.se>
@@ -118,7 +118,7 @@ unix_socket(char *path) {
         addr.sun_family = AF_UNIX;
         if (strlcpy(addr.sun_path, path, sizeof(addr.sun_path))
             >= sizeof(addr.sun_path)) {
-                warnx("strlcpy: socket path too long");
+                warnx("socket path too long");
                 close(s);
                 return -1;
         }