summaryrefslogtreecommitdiff
path: root/usr.bin/mg/undo.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-01 15:53:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-01 15:53:44 +0000
commitc1b5e4353daf6f1929dad2fc6e04853b6ee139ae (patch)
tree797bc454bacbb174ba9c864e6e5782aa4eca9c9d /usr.bin/mg/undo.c
parent345cf55c40f7beff8ab2f9db25c315c38d34bfd6 (diff)
various format string cleanups; tedu ok
Diffstat (limited to 'usr.bin/mg/undo.c')
-rw-r--r--usr.bin/mg/undo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/undo.c b/usr.bin/mg/undo.c
index 2f9485e81db..c25d351608c 100644
--- a/usr.bin/mg/undo.c
+++ b/usr.bin/mg/undo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: undo.c,v 1.16 2003/05/20 03:08:55 cloder Exp $ */
+/* $OpenBSD: undo.c,v 1.17 2003/06/01 15:53:34 deraadt Exp $ */
/*
* Copyright (c) 2002 Vincent Labrecque
* All rights reserved.
@@ -403,7 +403,7 @@ undo_dump(void)
}
snprintf(tmp, sizeof tmp, " [%d]", rec->region.r_size);
strlcat(buf, tmp, sizeof buf);
- addlinef(bp, buf);
+ addlinef(bp, "%s", buf);
}
return (TRUE);
}