diff options
| author | tkusumi <tkusumi@NetBSD.org> | 2019-12-09 16:06:19 +0000 |
|---|---|---|
| committer | tkusumi <tkusumi@NetBSD.org> | 2019-12-09 16:06:19 +0000 |
| commit | a0ff12f2659cc97cc548ee434d5dc51c7e06eb6c (patch) | |
| tree | 5c2e2f2585c94b750a08519a05eda892cf74f88b /sys/dev/dm/dm_target_linear.c | |
| parent | 9379d01a7dd615058808e74a1a48b40e4b314814 (diff) | |
dm: Silence aprint_normal() in dm_target_linear_status()
dm_target_linear_status() shouldn't print this debug message by default
on dmsetup "table" ioctl/command.
Diffstat (limited to 'sys/dev/dm/dm_target_linear.c')
| -rw-r--r-- | sys/dev/dm/dm_target_linear.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/dm/dm_target_linear.c b/sys/dev/dm/dm_target_linear.c index 41bce984ebd..4b496a2980e 100644 --- a/sys/dev/dm/dm_target_linear.c +++ b/sys/dev/dm/dm_target_linear.c @@ -1,4 +1,4 @@ -/* $NetBSD: dm_target_linear.c,v 1.25 2019/12/08 04:41:02 tkusumi Exp $ */ +/* $NetBSD: dm_target_linear.c,v 1.26 2019/12/09 16:06:19 tkusumi Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: dm_target_linear.c,v 1.25 2019/12/08 04:41:02 tkusumi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dm_target_linear.c,v 1.26 2019/12/09 16:06:19 tkusumi Exp $"); /* * This file implements initial version of device-mapper dklinear target. @@ -106,7 +106,6 @@ dm_target_linear_status(void *target_config) aprint_debug("Linear target status function called\n"); params = kmem_alloc(DM_MAX_PARAMS_SIZE, KM_SLEEP); - aprint_normal("%s %" PRIu64, tlc->pdev->name, tlc->offset); snprintf(params, DM_MAX_PARAMS_SIZE, "%s %" PRIu64, tlc->pdev->name, tlc->offset); |
