git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Input: gameport - move from strlcpy with unused retval to strscpy
[sfrench/cifs-2.6.git]
/
include
/
linux
/
gameport.h
diff --git
a/include/linux/gameport.h
b/include/linux/gameport.h
index 69081d899492e6f79c701d0d3e4aa0d58a6b58c4..8c2f00018e896ddfbb385352c9686cd0df57be67 100644
(file)
--- a/
include/linux/gameport.h
+++ b/
include/linux/gameport.h
@@
-110,7
+110,7
@@
static inline void gameport_free_port(struct gameport *gameport)
static inline void gameport_set_name(struct gameport *gameport, const char *name)
{
- str
l
cpy(gameport->name, name, sizeof(gameport->name));
+ str
s
cpy(gameport->name, name, sizeof(gameport->name));
}
/*