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

[MiNT] [PATCH][5/6] USB. Fix debug message



Commit message:

Correct format specifier to fix debug messages.

Contributed by David Gálvez.
diff -r 379ea6192a19 -r c8af7f7644d0 sys/usb/src.km/udd/storage/xhdi.c
--- a/sys/usb/src.km/udd/storage/xhdi.c	Fri Apr 17 18:00:18 2015 +0200
+++ b/sys/usb/src.km/udd/storage/xhdi.c	Fri Apr 17 18:01:31 2015 +0200
@@ -265,14 +265,14 @@
 		memcpy(bpb, myBPB, sizeof(BPB));
 
 		DEBUG(("XHInqDev2() BPB"));
-		DEBUG(("recsiz:	%d", bpb->recsiz));
+		DEBUG(("recsiz:	%u", bpb->recsiz));
 		DEBUG(("clsiz:	%d", bpb->clsiz));
-		DEBUG(("clsizb:	%d", bpb->clsizb));
+		DEBUG(("clsizb:	%u", bpb->clsizb));
 		DEBUG(("rdlen:	%d", bpb->rdlen));
 		DEBUG(("fsiz:	%d", bpb->fsiz));
 		DEBUG(("fatrec:	%d", bpb->fatrec));
 		DEBUG(("datrec:	%d", bpb->datrec));
-		DEBUG(("numcl:	%d", bpb->numcl));
+		DEBUG(("numcl:	%u", bpb->numcl));
 		DEBUG(("bflags:	%x", bpb->bflags));
 	}