summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2019-04-26 08:38:25 +0000
committerpgoyette <pgoyette@NetBSD.org>2019-04-26 08:38:25 +0000
commitaade259e9c122a9f131be560a3e4a3d0af41b1eb (patch)
treef5ea84e2e3736226a6b002a398b162bc93682969 /sys/dev
parent5caf8943ac45ff0468d91e473a4935bd3597cd30 (diff)
Set the "required modules" to NULL, not to an empty string.
It really doesn't make that much difference to the code, but the output from modstat(8) is different! (With an empty string in the MODULE() macro modstat reports an empty string, but with a NULL in the macro, modstat prints a '-' just like it does for other "empty" fields.)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sysmon/sysmon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sysmon/sysmon.c b/sys/dev/sysmon/sysmon.c
index 245c1fa84ce..7f92577285e 100644
--- a/sys/dev/sysmon/sysmon.c
+++ b/sys/dev/sysmon/sysmon.c
@@ -1,4 +1,4 @@
-/* $NetBSD: sysmon.c,v 1.28 2015/05/05 09:22:33 pgoyette Exp $ */
+/* $NetBSD: sysmon.c,v 1.29 2019/04/26 08:38:25 pgoyette Exp $ */
/*-
* Copyright (c) 2000 Zembu Labs, Inc.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysmon.c,v 1.28 2015/05/05 09:22:33 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysmon.c,v 1.29 2019/04/26 08:38:25 pgoyette Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -307,7 +307,7 @@ sysmonkqfilter(dev_t dev, struct knote *kn)
return (error);
}
-MODULE(MODULE_CLASS_DRIVER, sysmon, "");
+MODULE(MODULE_CLASS_DRIVER, sysmon, NULL);
static int
sm_init_once(void)