diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2013-03-15 12:36:12 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2013-03-15 12:36:12 +0000 |
commit | 93b75e61ef6de8e2b28a8ae83aaf5525a9a66682 (patch) | |
tree | 3f16db8ca08fe3921efee1c06fb997160e64b0a8 /usr.sbin | |
parent | 63dda3cf702a788990d4471393a388d565a581e0 (diff) |
fix up some lwarn()s that should be lwarnx()s
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/tftpd/tftpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tftpd/tftpd.c b/usr.sbin/tftpd/tftpd.c index cf5238f406e..93e01e2e771 100644 --- a/usr.sbin/tftpd/tftpd.c +++ b/usr.sbin/tftpd/tftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tftpd.c,v 1.9 2013/03/15 12:20:11 dlg Exp $ */ +/* $OpenBSD: tftpd.c,v 1.10 2013/03/15 12:36:11 dlg Exp $ */ /* * Copyright (c) 2012 David Gwynne <dlg@uq.edu.au> @@ -1406,14 +1406,14 @@ oack(struct tftp_client *client) n = snprintf(bp, size, "%s%c%lld", opt_names[i], '\0', options[i].o_reply); if (n == -1 || n >= size) { - lwarn("oack: no buffer space"); + lwarnx("oack: no buffer space"); goto error; } bp += n + 1; size -= n + 1; if (size < 0) { - lwarn("oack: no buffer space"); + lwarnx("oack: no buffer space"); goto error; } } |