Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs Use dprintf, not ...
details: https://anonhg.NetBSD.org/src/rev/4967bc31dee6
branches: trunk
changeset: 337305:4967bc31dee6
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Apr 10 20:55:38 2015 +0000
description:
Use dprintf, not printf, for debug messages.
diffstat:
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 72a4141169ac -r 4967bc31dee6 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c Fri Apr 10 20:41:59 2015 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c Fri Apr 10 20:55:38 2015 +0000
@@ -4441,11 +4441,11 @@
uint_t vec;
int error, rc;
- printf("zfsdev_ioctl called \n");
+ dprintf("zfsdev_ioctl called \n");
if (getminor(dev) != 0)
return (zvol_ioctl(dev, cmd, arg, flag, cr, rvalp));
- printf("zfsdev_ioctl -> zvol_ioctl\n");
+ dprintf("zfsdev_ioctl -> zvol_ioctl\n");
vec = cmd - ZFS_IOC;
ASSERT3U(getmajor(dev), ==, ddi_driver_major(zfs_dip));
@@ -4488,7 +4488,7 @@
}
}
- printf("zfsdev_ioctl -> calling zfs_ioc_vec zvec_func on %d\n", vec);
+ dprintf("zfsdev_ioctl -> calling zfs_ioc_vec zvec_func on %d\n", vec);
if (error == 0)
error = zfs_ioc_vec[vec].zvec_func(zc);
@@ -4500,7 +4500,7 @@
}
kmem_free(zc, sizeof (zfs_cmd_t));
- printf("zfsdev_ioctl %d\n", error);
+ dprintf("zfsdev_ioctl %d\n", error);
return (error);
}
Home |
Main Index |
Thread Index |
Old Index