diff options
author | thompsa <thompsa@FreeBSD.org> | 2007-10-14 16:14:32 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2007-10-14 16:14:32 +0000 |
commit | d99df3dd9e529e9569db1d83ac3e30447598bcda (patch) | |
tree | f5c9552fad3985ee74a50a801b2b3f62c2608485 /sys/cddl/contrib | |
parent | 87bd60ac749cd353222114cf1806314cb01658ce (diff) | |
download | FreeBSD-src-d99df3dd9e529e9569db1d83ac3e30447598bcda.zip FreeBSD-src-d99df3dd9e529e9569db1d83ac3e30447598bcda.tar.gz |
ZFS_LOG adds a newline by itself.
Pointed out by: pjd
Diffstat (limited to 'sys/cddl/contrib')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fm.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fm.c index 5b2badf..e2385a0 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fm.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fm.c @@ -290,7 +290,7 @@ zfs_ereport_post(const char *subclass, spa_t *spa, vdev_t *vd, zio_t *zio, mutex_exit(&spa->spa_errlist_lock); sbuf_finish(&sb); - ZFS_LOG(1, "%s\n", sbuf_data(&sb)); + ZFS_LOG(1, "%s", sbuf_data(&sb)); devctl_notify("ZFS", spa->spa_name, subclass, sbuf_data(&sb)); if (sbuf_overflowed(&sb)) printf("ZFS WARNING: sbuf overflowed\n"); |