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
1354 "warning: process `%s' used the deprecated sysctl "1354 "warning: process `%s' used the deprecated sysctl "
1355 "system call with ", current->comm);1355 "system call with ", current->comm);
1356 for (i = 0; i < nlen; i++)1356 for (i = 0; i < nlen; i++)
1357 printk("%d.", name[i]);1357 printk(KERN_CONT "%d.", name[i]);
1358 printk("\n");1358 printk(KERN_CONT "\n");
1359 }1359 }
1360 return;1360 return;
1361}1361}