[ipfilter-cvs] ipfilter/tools ipmon.c,v4-1-RELEASE
Brought to you by:
darren_r
From: Darren <dar...@us...> - 2011-08-06 22:36:57
|
Update of /cvsroot/ipfilter/ipfilter/tools In directory vz-cvs-4.sog:/tmp/cvs-serv21679/tools Modified Files: Tag: v4-1-RELEASE ipmon.c Log Message: ipl_usec is not always type long for printing Index: ipmon.c =================================================================== RCS file: /cvsroot/ipfilter/ipfilter/tools/ipmon.c,v retrieving revision 1.1.3.1.2.14 retrieving revision 1.1.3.1.2.15 diff -C2 -d -r1.1.3.1.2.14 -r1.1.3.1.2.15 *** ipmon.c 21 Jul 2009 22:49:39 -0000 1.1.3.1.2.14 --- ipmon.c 6 Aug 2011 22:36:55 -0000 1.1.3.1.2.15 *************** *** 734,738 **** (void) strftime(t, len, "%T", tm); t += strlen(t); ! (void) sprintf(t, ".%-.6ld @%hd ", ipl->ipl_usec, nl->nl_rule + 1); t += strlen(t); --- 734,739 ---- (void) strftime(t, len, "%T", tm); t += strlen(t); ! (void) sprintf(t, ".%-.6ld @%hd ", (long)ipl->ipl_usec, ! nl->nl_rule + 1); t += strlen(t); *************** *** 816,820 **** (void) strftime(t, len, "%T", tm); t += strlen(t); ! (void) sprintf(t, ".%-.6ld ", ipl->ipl_usec); t += strlen(t); --- 817,821 ---- (void) strftime(t, len, "%T", tm); t += strlen(t); ! (void) sprintf(t, ".%-.6ld ", (long)ipl->ipl_usec); t += strlen(t); *************** *** 1028,1032 **** (void) strftime(t, len, "%T", tm); t += strlen(t); ! (void) sprintf(t, ".%-.6ld ", ipl->ipl_usec); t += strlen(t); if (ipl->ipl_count > 1) { --- 1029,1033 ---- (void) strftime(t, len, "%T", tm); t += strlen(t); ! (void) sprintf(t, ".%-.6ld ", (long)ipl->ipl_usec); t += strlen(t); if (ipl->ipl_count > 1) { |