Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279236
b: refs/heads/master
c: 50553c2
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Kalle Valo committed Nov 24, 2011
1 parent 9f580d5 commit a74e52e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fdb28589b10f1bd4c407ea304399c2ff1cae1504
refs/heads/master: 50553c2c8145c3278668f385a71abbf79108e737
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/ath/ath6kl/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -1550,10 +1550,10 @@ static ssize_t ath6kl_listen_int_read(struct file *file,
size_t count, loff_t *ppos)
{
struct ath6kl *ar = file->private_data;
char buf[16];
char buf[32];
int len;

len = snprintf(buf, sizeof(buf), "%u %u\n", ar->listen_intvl_t,
len = scnprintf(buf, sizeof(buf), "%u %u\n", ar->listen_intvl_t,
ar->listen_intvl_b);

return simple_read_from_buffer(user_buf, count, ppos, buf, len);
Expand Down

0 comments on commit a74e52e

Please sign in to comment.