summaryrefslogtreecommitdiff
path: root/usr.bin/hexdump/odsyntax.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2017-05-30 05:58:45 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2017-05-30 05:58:45 +0000
commit6876d1ec69f52a8e1e6912d0d2869a125e454506 (patch)
tree99291e60c9d7ad549114c56b8db064da7d0bb71b /usr.bin/hexdump/odsyntax.c
parent4c70ecbac41778d69c34959244c23b53aa8fd665 (diff)
fix a shadow warning. from Brian Callahan
Diffstat (limited to 'usr.bin/hexdump/odsyntax.c')
-rw-r--r--usr.bin/hexdump/odsyntax.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/hexdump/odsyntax.c b/usr.bin/hexdump/odsyntax.c
index c9e86035333..723777114e6 100644
--- a/usr.bin/hexdump/odsyntax.c
+++ b/usr.bin/hexdump/odsyntax.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: odsyntax.c,v 1.27 2016/03/15 04:19:13 mmcc Exp $ */
+/* $OpenBSD: odsyntax.c,v 1.28 2017/05/30 05:58:44 tedu Exp $ */
/* $NetBSD: odsyntax.c,v 1.15 2001/12/07 15:14:29 bjh21 Exp $ */
/*-
@@ -403,12 +403,12 @@ odoffset(int argc, char ***argvp)
}
static void
-odadd(const char *fmt)
+odadd(const char *format)
{
static int needpad;
if (needpad)
add("\""PADDING"\"");
- add(fmt);
+ add(format);
needpad = 1;
}