summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-03-02 11:31:18 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-03-02 11:31:18 +0000
commit076a07b2a31ef577c2be4fa80f242d9942ba0418 (patch)
tree2be0b728903ab1d4f8a4453a9cd953635584dcd7 /sbin
parent0ebf08c949acd54ba313323ca0e95efbfb5ca077 (diff)
caret missing, From: "Matthew R. Dempsky" <mrd@alkemio.org>
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dhclient/errwarn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/errwarn.c b/sbin/dhclient/errwarn.c
index 597a42138e3..b5a4335bac7 100644
--- a/sbin/dhclient/errwarn.c
+++ b/sbin/dhclient/errwarn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: errwarn.c,v 1.14 2007/03/02 11:27:36 henning Exp $ */
+/* $OpenBSD: errwarn.c,v 1.15 2007/03/02 11:31:17 henning Exp $ */
/* Errors and warnings... */
@@ -238,8 +238,8 @@ parse_warn(char *fmt, ...)
if (lexchar < 81) {
iov[4].iov_base = spaces;
iov[4].iov_len = lexchar - 1;
- iov[5].iov_base = "\n";
- iov[5].iov_len = 1;
+ iov[5].iov_base = "^\n";
+ iov[5].iov_len = 2;
iovcnt += 2;
}
writev(STDERR_FILENO, iov, iovcnt);