Skip to content

Commit

Permalink
[PATCH] pr_debug: trident: use size_t length modifier in pr_debug for…
Browse files Browse the repository at this point in the history
…mat arguments

trident: use size_t length modifier in pr_debug format arguments

Signed-off-by: Zach Brown <zach.brown@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Zach Brown authored and Linus Torvalds committed Oct 3, 2006
1 parent 8057de6 commit c8c94b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/oss/trident.c
Original file line number Diff line number Diff line change
Expand Up @@ -1862,7 +1862,7 @@ trident_read(struct file *file, char __user *buffer, size_t count, loff_t * ppos
unsigned swptr;
int cnt;

pr_debug("trident: trident_read called, count = %d\n", count);
pr_debug("trident: trident_read called, count = %zd\n", count);

VALIDATE_STATE(state);

Expand Down Expand Up @@ -1978,7 +1978,7 @@ trident_write(struct file *file, const char __user *buffer, size_t count, loff_t
unsigned int copy_count;
int lret; /* for lock_set_fmt */

pr_debug("trident: trident_write called, count = %d\n", count);
pr_debug("trident: trident_write called, count = %zd\n", count);

VALIDATE_STATE(state);

Expand Down

0 comments on commit c8c94b1

Please sign in to comment.