Author: eadler (ports committer)
Date: Thu Dec  8 02:40:46 2011
New Revision: 228342
URL: http://svn.freebsd.org/changeset/base/228342

Log:
  - set progname for use in usage()
  
  PR:           bin/162908
  Submitted by: Oleg Ginzburg <olev...@olevole.ru>
  Approved by:  sbruno@
  MFC after:    3 days

Modified:
  head/contrib/tzcode/zic/zdump.c

Modified: head/contrib/tzcode/zic/zdump.c
==============================================================================
--- head/contrib/tzcode/zic/zdump.c     Thu Dec  8 00:56:23 2011        
(r228341)
+++ head/contrib/tzcode/zic/zdump.c     Thu Dec  8 02:40:46 2011        
(r228342)
@@ -260,6 +260,7 @@ char *      argv[];
        register struct tm *    tmp;
        register struct tm *    newtmp;
 
+       progname=argv[0];
        INITIALIZE(cutlotime);
        INITIALIZE(cuthitime);
 #if HAVE_GETTEXT
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to