summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-07-29 02:01:23 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-07-29 02:01:23 +0000
commitda64c878fdc95e5ce949780de6622c9e3df7d538 (patch)
treee19a681a7c6c3cc42f5de8dd1190c1af7c09cff1 /sbin
parent2ae30ebb1318128a6578e4c1585e9cbdcae0a62b (diff)
off-by-one in a printf %s
markus@ ok a while back
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/monitor.c b/sbin/isakmpd/monitor.c
index 2f67be29002..423944a058a 100644
--- a/sbin/isakmpd/monitor.c
+++ b/sbin/isakmpd/monitor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor.c,v 1.7 2003/06/10 16:41:29 deraadt Exp $ */
+/* $OpenBSD: monitor.c,v 1.8 2003/07/29 02:01:22 avsm Exp $ */
/*
* Copyright (c) 2003 Håkan Olsson. All rights reserved.
@@ -1210,7 +1210,7 @@ m_priv_local_sanitize_path (char *path, size_t pmax, int flags)
return;
bad_path:
- log_print ("m_priv_local_sanitize_path: illegal path \"%.1024s\", "
+ log_print ("m_priv_local_sanitize_path: illegal path \"%.1023s\", "
"replaced with \"/dev/null\"", path);
strlcpy (path, "/dev/null", pmax);
return;