diff options
Diffstat (limited to 'arch/blackfin/kernel/setup.c')
-rw-r--r-- | arch/blackfin/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 4f424ae3b36d..ad82468bd94d 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c | |||
@@ -1464,5 +1464,5 @@ void __init cmdline_init(const char *r0) | |||
1464 | { | 1464 | { |
1465 | early_shadow_stamp(); | 1465 | early_shadow_stamp(); |
1466 | if (r0) | 1466 | if (r0) |
1467 | strncpy(command_line, r0, COMMAND_LINE_SIZE); | 1467 | strlcpy(command_line, r0, COMMAND_LINE_SIZE); |
1468 | } | 1468 | } |