Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311435
b: refs/heads/master
c: a969dd1
h: refs/heads/master
i:
  311433: 3c0bcef
  311431: 5713391
v: v3
  • Loading branch information
David S. Miller committed Jun 27, 2012
1 parent 2d32ed4 commit 5256ca9
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: 85f2f834e85517307f13e30e630a5fc86f757cb5
refs/heads/master: a969dd139cc2f2bccdcb11894f0695517cf84d4d
2 changes: 1 addition & 1 deletion trunk/net/9p/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt,
const char *sptr = va_arg(ap, const char *);
uint16_t len = 0;
if (sptr)
len = min_t(uint16_t, strlen(sptr),
len = min_t(size_t, strlen(sptr),
USHRT_MAX);

errcode = p9pdu_writef(pdu, proto_version,
Expand Down

0 comments on commit 5256ca9

Please sign in to comment.