Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334048
b: refs/heads/master
c: a10fded
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields committed Aug 21, 2012
1 parent e251f69 commit 75ff790
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: 38af2cabb6285e1c44d2cc3165f150d2aa5f38a8
refs/heads/master: a10fded18eb275e7e97e57e7542b16c665fe61ec
2 changes: 1 addition & 1 deletion trunk/fs/nfsd/nfsctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ static ssize_t __write_ports_addxprt(char *buf)
int port, err;
struct net *net = &init_net;

if (sscanf(buf, "%15s %4u", transport, &port) != 2)
if (sscanf(buf, "%15s %5u", transport, &port) != 2)
return -EINVAL;

if (port < 1 || port > USHRT_MAX)
Expand Down

0 comments on commit 75ff790

Please sign in to comment.