diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-25 09:52:48 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-25 09:52:48 -0500 |
commit | f1487fcbe47cd2bc0c71e8598bf9eb6a82dec544 (patch) | |
tree | 4c7abed6047538c13dd024a8ecffd15f31b4609a /arch/mips/vr41xx/common/init.c | |
parent | 84549d239ab9bb2e3a85c6efcf0e6478a38b4260 (diff) | |
parent | 40aa7030e5213a43e9e0554fd7f95534ea310bf3 (diff) |
Merge branch 'for-2.6.33' into for-2.6.34
Diffstat (limited to 'arch/mips/vr41xx/common/init.c')
-rw-r--r-- | arch/mips/vr41xx/common/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/vr41xx/common/init.c b/arch/mips/vr41xx/common/init.c index 1386e6f081c..23916321cc1 100644 --- a/arch/mips/vr41xx/common/init.c +++ b/arch/mips/vr41xx/common/init.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * init.c, Common initialization routines for NEC VR4100 series. | 2 | * init.c, Common initialization routines for NEC VR4100 series. |
3 | * | 3 | * |
4 | * Copyright (C) 2003-2008 Yoichi Yuasa <yuasa@linux-mips.org> | 4 | * Copyright (C) 2003-2009 Yoichi Yuasa <yuasa@linux-mips.org> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
@@ -66,9 +66,9 @@ void __init prom_init(void) | |||
66 | argv = (char **)fw_arg1; | 66 | argv = (char **)fw_arg1; |
67 | 67 | ||
68 | for (i = 1; i < argc; i++) { | 68 | for (i = 1; i < argc; i++) { |
69 | strcat(arcs_cmdline, argv[i]); | 69 | strlcat(arcs_cmdline, argv[i], COMMAND_LINE_SIZE); |
70 | if (i < (argc - 1)) | 70 | if (i < (argc - 1)) |
71 | strcat(arcs_cmdline, " "); | 71 | strlcat(arcs_cmdline, " ", COMMAND_LINE_SIZE); |
72 | } | 72 | } |
73 | } | 73 | } |
74 | 74 | ||