Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Print LF in hexdump when datalen % 16 != 0. Fro...



details:   https://anonhg.NetBSD.org/src/rev/7e676b4abada
branches:  trunk
changeset: 345077:7e676b4abada
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri May 06 10:27:14 2016 +0000

description:
Print LF in hexdump when datalen % 16 != 0.  From t-hash.

diffstat:

 sys/dev/usb/xhci.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 581f90996652 -r 7e676b4abada sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c        Fri May 06 10:25:56 2016 +0000
+++ b/sys/dev/usb/xhci.c        Fri May 06 10:27:14 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xhci.c,v 1.43 2016/05/06 10:25:56 skrll Exp $  */
+/*     $NetBSD: xhci.c,v 1.44 2016/05/06 10:27:14 skrll Exp $  */
 
 /*
  * Copyright (c) 2013 Jonathan A. Kollasch
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.43 2016/05/06 10:25:56 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.44 2016/05/06 10:27:14 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -674,6 +674,8 @@
                if (cnt % 16 == 0)
                        printf("\n");
        }
+       if (cnt % 16 != 0)
+               printf("\n");
 #endif
 }
 



Home | Main Index | Thread Index | Old Index