From: tedu Date: Tue, 30 May 2017 05:58:44 +0000 (+0000) Subject: fix a shadow warning. from Brian Callahan X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=48a8138eaf620866eea17ae3a74c409afae0a361;p=openbsd fix a shadow warning. from Brian Callahan --- 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; }