Author: thompsa
Date: Mon Apr  4 02:57:19 2011
New Revision: 220314
URL: http://svn.freebsd.org/changeset/base/220314

Log:
  fix printing of tv_usec

Modified:
  head/usr.sbin/usbdump/usbdump.c

Modified: head/usr.sbin/usbdump/usbdump.c
==============================================================================
--- head/usr.sbin/usbdump/usbdump.c     Sun Apr  3 23:49:20 2011        
(r220313)
+++ head/usr.sbin/usbdump/usbdump.c     Mon Apr  4 02:57:19 2011        
(r220314)
@@ -323,7 +323,7 @@ print_apacket(const struct bpf_xhdr *hdr
 
        len = strftime(buf, sizeof(buf), "%H:%M:%S", tm);
 
-       printf("%.*s.%06ju usbus%d.%d 
%s-%s-EP=%08x,SPD=%s,NFR=%d,SLEN=%d,IVAL=%d%s%s\n",
+       printf("%.*s.%06ld usbus%d.%d 
%s-%s-EP=%08x,SPD=%s,NFR=%d,SLEN=%d,IVAL=%d%s%s\n",
            (int)len, buf, tv.tv_usec,
            (int)up->up_busunit, (int)up->up_address,
            (up->up_type == USBPF_XFERTAP_SUBMIT) ? "SUBM" : "DONE",
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to