diff options
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 769f40fd1a7..c63f3805b3e 100644 --- a/usr.bin/mg/undo.c +++ b/usr.bin/mg/undo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: undo.c,v 1.14 2002/09/15 22:18:39 vincent Exp $ */ +/* $OpenBSD: undo.c,v 1.15 2003/04/13 19:16:49 avsm Exp $ */ /* * Copyright (c) 2002 Vincent Labrecque * All rights reserved. @@ -401,7 +401,7 @@ undo_dump(void) strlcat(buf, tmp, sizeof buf); strlcat(buf, "\"", sizeof buf); } - snprintf(tmp, sizeof buf, " [%d]", rec->region.r_size); + snprintf(tmp, sizeof tmp, " [%d]", rec->region.r_size); strlcat(buf, tmp, sizeof buf); addlinef(bp, buf); } |