Module Name: src Committed By: skrll Date: Fri May 6 10:27:14 UTC 2016
Modified Files: src/sys/dev/usb: xhci.c Log Message: Print LF in hexdump when datalen % 16 != 0. From t-hash. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/dev/usb/xhci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/xhci.c diff -u src/sys/dev/usb/xhci.c:1.43 src/sys/dev/usb/xhci.c:1.44 --- src/sys/dev/usb/xhci.c:1.43 Fri May 6 10:25:56 2016 +++ src/sys/dev/usb/xhci.c Fri May 6 10:27:14 2016 @@ -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 @@ hexdump(const char *msg, const void *bas if (cnt % 16 == 0) printf("\n"); } + if (cnt % 16 != 0) + printf("\n"); #endif }