Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95283
b: refs/heads/master
c: f735295
h: refs/heads/master
i:
  95281: 3d8ee21
  95279: defc507
v: v3
  • Loading branch information
Markus Armbruster authored and Linus Torvalds committed Apr 30, 2008
1 parent 30c87a5 commit 5326ff5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f7511d5f66f01fc451747b24e79f3ada7a3af9af
refs/heads/master: f735295b14ae073a8302d7b1da894bc597724557
2 changes: 1 addition & 1 deletion trunk/kernel/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ int update_console_cmdline(char *name, int idx, char *name_new, int idx_new, cha
if (strcmp(console_cmdline[i].name, name) == 0 &&
console_cmdline[i].index == idx) {
c = &console_cmdline[i];
memcpy(c->name, name_new, sizeof(c->name));
strlcpy(c->name, name_new, sizeof(c->name));
c->name[sizeof(c->name) - 1] = 0;
c->options = options;
c->index = idx_new;
Expand Down

0 comments on commit 5326ff5

Please sign in to comment.