diff options
author | Tomohiro Kusumi <[email protected]> | 2019-05-09 08:43:55 +0900 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-05-08 16:43:55 -0700 |
commit | b689de85e8c78b9dc03c1bd4c3ca0f4e75714e92 (patch) | |
tree | cf9192e0ce35f8cf96693221540fb8e3bfaf9074 | |
parent | 4bb40c1c82f0c11d231cbb4e2bd3bee1b550ad0b (diff) |
Add missing trailing '\n' in printk() messages
These messages will want '\n' like any other regular printk() messages.
Reviewed by: Brian Behlendorf <[email protected]>
Reviewed-by: Richard Laager <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Tomohiro Kusumi <[email protected]>
Closes #8726
-rw-r--r-- | module/spl/spl-generic.c | 3 | ||||
-rw-r--r-- | module/zfs/zfs_vfsops.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/module/spl/spl-generic.c b/module/spl/spl-generic.c index a22e93e36..cd2fa2020 100644 --- a/module/spl/spl-generic.c +++ b/module/spl/spl-generic.c @@ -662,7 +662,8 @@ spl_random_init(void) } printk("SPL: get_random_bytes() returned 0 " "when generating random seed. Setting initial seed to " - "0x%016llx%016llx.", cpu_to_be64(s[0]), cpu_to_be64(s[1])); + "0x%016llx%016llx.\n", cpu_to_be64(s[0]), + cpu_to_be64(s[1])); } for_each_possible_cpu(i) { diff --git a/module/zfs/zfs_vfsops.c b/module/zfs/zfs_vfsops.c index 18194a5dc..371c412f6 100644 --- a/module/zfs/zfs_vfsops.c +++ b/module/zfs/zfs_vfsops.c @@ -1002,7 +1002,7 @@ zfsvfs_init(zfsvfs_t *zfsvfs, objset_t *os) zfs_zpl_version_map(spa_version(dmu_objset_spa(os)))) { (void) printk("Can't mount a version %lld file system " "on a version %lld pool\n. Pool must be upgraded to mount " - "this file system.", (u_longlong_t)zfsvfs->z_version, + "this file system.\n", (u_longlong_t)zfsvfs->z_version, (u_longlong_t)spa_version(dmu_objset_spa(os))); return (SET_ERROR(ENOTSUP)); } |