projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e7ddac
)
[PATCH] strndup() would better take size_t, not int
author
Al Viro
<viro@ftp.linux.org.uk>
Tue, 10 Oct 2006 21:49:17 +0000
(22:49 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 10 Oct 2006 22:37:24 +0000
(15:37 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/irda/irias_object.c
patch
|
blob
|
history
diff --git
a/net/irda/irias_object.c
b/net/irda/irias_object.c
index
a154b1d
..
56292ab
100644
(file)
--- a/
net/irda/irias_object.c
+++ b/
net/irda/irias_object.c
@@
-43,7
+43,7
@@
struct ias_value irias_missing = { IAS_MISSING, 0, 0, 0, {0}};
*
* Faster, check boundary... Jean II
*/
-static char *strndup(char *str,
in
t max)
+static char *strndup(char *str,
size_
t max)
{
char *new_str;
int len;