Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359396
b: refs/heads/master
c: df1778b
h: refs/heads/master
v: v3
  • Loading branch information
Xi Wang authored and Linus Torvalds committed Feb 28, 2013
1 parent 867412c commit 1b728ec
Show file tree
Hide file tree
Showing 2 changed files with 3 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: ac2e5327a5e4f6477afc6a3b3b0dc6e0476d71d4
refs/heads/master: df1778be1a33edffa51d094eeda87c858ded6560
3 changes: 2 additions & 1 deletion trunk/kernel/sysctl_binary.c
Original file line number Diff line number Diff line change
Expand Up @@ -1171,9 +1171,10 @@ static ssize_t bin_dn_node_address(struct file *file,

/* Convert the decnet address to binary */
result = -EIO;
nodep = strchr(buf, '.') + 1;
nodep = strchr(buf, '.');
if (!nodep)
goto out;
++nodep;

area = simple_strtoul(buf, NULL, 10);
node = simple_strtoul(nodep, NULL, 10);
Expand Down

0 comments on commit 1b728ec

Please sign in to comment.