History

sysctl: add KERN_CONT to deprecated_sysctl_warning()

Do not break lines while printk()ing values. kernel: warning: process `tomoyo_file_tes' used the deprecated sysctl system call with kernel: 3. kernel: 5. kernel: 56. kernel:

Tetsuo Handa committed 9 years ago

Commit 7560ef31 parent 8e53c071 file · +2 −2Browse files

Showing the changes to kernel/sysctl_binary.c (1 of 1 file). Show all

Unified · Split

kernel/sysctl_binary.c+2−2
@@ -1354,8 +1354,8 @@ static void deprecated_sysctl_warning(const int *name, int nlen) · 1353 unmodified lines
13541354 "warning: process `%s' used the deprecated sysctl "
13551355 "system call with ", current->comm);
13561356 for (i = 0; i < nlen; i++)
1357− printk("%d.", name[i]);
1358− printk("\n");
1357+ printk(KERN_CONT "%d.", name[i]);
1358+ printk(KERN_CONT "\n");
13591359 }
13601360 return;
13611361 }