projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4d9a55
)
MIPS: VR41xx: Use strlcat() for the command line arguments
author
Yoichi Yuasa
<
[email protected]
>
Thu, 10 Dec 2009 05:00:39 +0000
(14:00 +0900)
committer
Ralf Baechle
<
[email protected]
>
Tue, 12 Jan 2010 17:19:30 +0000
(18:19 +0100)
Signed-off-by: Yoichi Yuasa <
[email protected]
>
Cc:
[email protected]
Patchwork: http://patchwork.linux-mips.org/patch/784/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/vr41xx/common/init.c
patch
|
blob
|
history
diff --git
a/arch/mips/vr41xx/common/init.c
b/arch/mips/vr41xx/common/init.c
index 1386e6f081c86aa370e3ddf31179b07b668f9ba0..23916321cc1b5d727bf87169fed1bb5811577aea 100644
(file)
--- a/
arch/mips/vr41xx/common/init.c
+++ b/
arch/mips/vr41xx/common/init.c
@@
-1,7
+1,7
@@
/*
* init.c, Common initialization routines for NEC VR4100 series.
*
- * Copyright (C) 2003-200
8
Yoichi Yuasa <
[email protected]
>
+ * Copyright (C) 2003-200
9
Yoichi Yuasa <
[email protected]
>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-66,9
+66,9
@@
void __init prom_init(void)
argv = (char **)fw_arg1;
for (i = 1; i < argc; i++) {
- str
cat(arcs_cmdline, argv[i]
);
+ str
lcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE
);
if (i < (argc - 1))
- str
cat(arcs_cmdline, " "
);
+ str
lcat(arcs_cmdline, " ", COMMAND_LINE_SIZE
);
}
}