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:
Showing the changes to kernel/sysctl_binary.c (1 of 1 file). Show all
Unified · Split
| @@ -1354,8 +1354,8 @@ static void deprecated_sysctl_warning(const int *name, int nlen) · 1353 unmodified lines | ||
| 1354 | 1354 | "warning: process `%s' used the deprecated sysctl " |
| 1355 | 1355 | "system call with ", current->comm); |
| 1356 | 1356 | 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"); | |
| 1359 | 1359 | } |
| 1360 | 1360 | return; |
| 1361 | 1361 | } |