diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-01 15:53:44 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-01 15:53:44 +0000 |
commit | c1b5e4353daf6f1929dad2fc6e04853b6ee139ae (patch) | |
tree | 797bc454bacbb174ba9c864e6e5782aa4eca9c9d /usr.bin/mg/undo.c | |
parent | 345cf55c40f7beff8ab2f9db25c315c38d34bfd6 (diff) |
various format string cleanups; tedu ok
Diffstat (limited to 'usr.bin/mg/undo.c')
-rw-r--r-- | usr.bin/mg/undo.c | 4 |
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); } |