summaryrefslogtreecommitdiffstats
path: root/contrib/tzcode
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2011-12-08 02:40:46 +0000
committereadler <eadler@FreeBSD.org>2011-12-08 02:40:46 +0000
commita07fbf83e405db7f7aa6fdfa06c83ce015cac42f (patch)
tree719e7d139438e744eba07a0b18a8e5d76515426d /contrib/tzcode
parent6e35eed64926ff7036dc3dfaaac3dd79a594994d (diff)
downloadFreeBSD-src-a07fbf83e405db7f7aa6fdfa06c83ce015cac42f.zip
FreeBSD-src-a07fbf83e405db7f7aa6fdfa06c83ce015cac42f.tar.gz
- set progname for use in usage()
PR: bin/162908 Submitted by: Oleg Ginzburg <olevole@olevole.ru> Approved by: sbruno@ MFC after: 3 days
Diffstat (limited to 'contrib/tzcode')
-rw-r--r--contrib/tzcode/zic/zdump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/tzcode/zic/zdump.c b/contrib/tzcode/zic/zdump.c
index 0f61125..2878a70 100644
--- a/contrib/tzcode/zic/zdump.c
+++ b/contrib/tzcode/zic/zdump.c
@@ -260,6 +260,7 @@ char * argv[];
register struct tm * tmp;
register struct tm * newtmp;
+ progname=argv[0];
INITIALIZE(cutlotime);
INITIALIZE(cuthitime);
#if HAVE_GETTEXT
OpenPOWER on IntegriCloud