Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348612
b: refs/heads/master
c: 407ee23
h: refs/heads/master
v: v3
  • Loading branch information
Chen Gang authored and John W. Linville committed Jan 7, 2013
1 parent d3839d6 commit f37beb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: c4f74d35cac7cbc44877313b69550e2f5aeae77d
refs/heads/master: 407ee23725bba0f273963bb744fea6cb3cf78bf4
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/iwlegacy/3945-mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -3273,7 +3273,7 @@ il3945_store_measurement(struct device *d, struct device_attribute *attr,

if (count) {
char *p = buffer;
strncpy(buffer, buf, min(sizeof(buffer), count));
strlcpy(buffer, buf, sizeof(buffer));
channel = simple_strtoul(p, NULL, 0);
if (channel)
params.channel = channel;
Expand Down

0 comments on commit f37beb3

Please sign in to comment.