ChangeSet 1.1148.6.1, 2003/10/06 14:44:14-07:00, [EMAIL PROTECTED]
[PATCH] USB brlvger: Debug code fixes
When compiling this driver with WRITE_DEBUG defined (for extra debug output),
gcc outputs warnings for three similar printf statements.
The specifier in each printf statement is not totally correct.
This patch removes these warnings.
drivers/usb/brlvger.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff -Nru a/drivers/usb/brlvger.c b/drivers/usb/brlvger.c
--- a/drivers/usb/brlvger.c Fri Oct 24 17:01:21 2003
+++ b/drivers/usb/brlvger.c Fri Oct 24 17:01:21 2003
@@ -623,14 +623,14 @@
int firstpart = 6 - off;
#ifdef WRITE_DEBUG
- dbg3("off: %d, rs: %d, count: %d, firstpart: %d",
+ dbg3("off: %lld, rs: %d, count: %d, firstpart: %d",
off, rs, count, firstpart);
#endif
firstpart = (firstpart < count) ? firstpart : count;
#ifdef WRITE_DEBUG
- dbg3("off: %d", off);
+ dbg3("off: %lld", off);
dbg3("firstpart: %d", firstpart);
#endif
@@ -650,7 +650,7 @@
off +=2;
#ifdef WRITE_DEBUG
- dbg3("off: %d, rs: %d, count: %d, firstpart: %d, "
+ dbg3("off: %lld, rs: %d, count: %d, firstpart: %d, "
"written: %d", off, rs, count, firstpart, written);
#endif
}
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel