Skip to content
Permalink
Browse files

Add missing trailing '\n' in printk() messages

These messages will want '\n' like any other regular printk() messages.

Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
  • Loading branch information...
kusumi committed May 8, 2019
1 parent 1f02ecc commit 8e6b05e1a575014639723b073e76e7f1099e2a01
Showing with 3 additions and 2 deletions.
  1. +2 −1 module/spl/spl-generic.c
  2. +1 −1 module/zfs/zfs_vfsops.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) {
@@ -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));
}

0 comments on commit 8e6b05e

Please sign in to comment.
You can’t perform that action at this time.