From: gilles Date: Sat, 19 Apr 2014 17:24:59 +0000 (+0000) Subject: replace warnx message X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=008ab91fc47c618ef9e4d74b1aa1e568703a42e7;p=openbsd replace warnx message --- diff --git a/usr.sbin/smtpd/delivery_lmtp.c b/usr.sbin/smtpd/delivery_lmtp.c index 8fb47877474..381d7328026 100644 --- a/usr.sbin/smtpd/delivery_lmtp.c +++ b/usr.sbin/smtpd/delivery_lmtp.c @@ -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 @@ -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; }