diff options
author | Jiri Slaby <jslaby@suse.cz> | 2014-02-03 11:13:13 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2014-03-13 12:10:59 +1030 |
commit | 27bba4d6bb3779a6678b31f9c9b9c1553c63fa95 (patch) | |
tree | 7659372c0c1cff5d7feb3c621fdafeaf000385c8 /kernel | |
parent | 33807f4f0daec3b00565c2932d95f614f5833adf (diff) | |
download | linux-27bba4d6bb3779a6678b31f9c9b9c1553c63fa95.tar.gz linux-27bba4d6bb3779a6678b31f9c9b9c1553c63fa95.tar.bz2 linux-27bba4d6bb3779a6678b31f9c9b9c1553c63fa95.zip |
module: use pr_cont
When dumping loaded modules, we print them one by one in separate
printks. Let's use pr_cont as they are continuation prints.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/module.c b/kernel/module.c index d24fcf29cb64..efa1e6031950 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -3809,12 +3809,12 @@ void print_modules(void) list_for_each_entry_rcu(mod, &modules, list) { if (mod->state == MODULE_STATE_UNFORMED) continue; - printk(" %s%s", mod->name, module_flags(mod, buf)); + pr_cont(" %s%s", mod->name, module_flags(mod, buf)); } preempt_enable(); if (last_unloaded_module[0]) - printk(" [last unloaded: %s]", last_unloaded_module); - printk("\n"); + pr_cont(" [last unloaded: %s]", last_unloaded_module); + pr_cont("\n"); } #ifdef CONFIG_MODVERSIONS |