diff options
author | Zach Brown <zach.brown@oracle.com> | 2006-10-03 04:16:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 11:04:19 -0400 |
commit | c8c94b11399b1dc7f08f7b28ec4289a727f0daee (patch) | |
tree | a0b163cef46fe53fbff4e60c85bcf2a61b82173a | |
parent | 8057de64fd4734ae3e70cf76deb77f1c19958494 (diff) |
[PATCH] pr_debug: trident: use size_t length modifier in pr_debug format 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>
-rw-r--r-- | sound/oss/trident.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/oss/trident.c b/sound/oss/trident.c index ce79cd82478a..147c816a1f22 100644 --- a/sound/oss/trident.c +++ b/sound/oss/trident.c | |||
@@ -1862,7 +1862,7 @@ trident_read(struct file *file, char __user *buffer, size_t count, loff_t * ppos | |||
1862 | unsigned swptr; | 1862 | unsigned swptr; |
1863 | int cnt; | 1863 | int cnt; |
1864 | 1864 | ||
1865 | pr_debug("trident: trident_read called, count = %d\n", count); | 1865 | pr_debug("trident: trident_read called, count = %zd\n", count); |
1866 | 1866 | ||
1867 | VALIDATE_STATE(state); | 1867 | VALIDATE_STATE(state); |
1868 | 1868 | ||
@@ -1978,7 +1978,7 @@ trident_write(struct file *file, const char __user *buffer, size_t count, loff_t | |||
1978 | unsigned int copy_count; | 1978 | unsigned int copy_count; |
1979 | int lret; /* for lock_set_fmt */ | 1979 | int lret; /* for lock_set_fmt */ |
1980 | 1980 | ||
1981 | pr_debug("trident: trident_write called, count = %d\n", count); | 1981 | pr_debug("trident: trident_write called, count = %zd\n", count); |
1982 | 1982 | ||
1983 | VALIDATE_STATE(state); | 1983 | VALIDATE_STATE(state); |
1984 | 1984 | ||