diff options
| author | Greg Lehey <grog@FreeBSD.org> | 1999-05-02 07:59:04 +0000 |
|---|---|---|
| committer | Greg Lehey <grog@FreeBSD.org> | 1999-05-02 07:59:04 +0000 |
| commit | 417f97c9540955203ddb9f96bb955f3deb0ea694 (patch) | |
| tree | 5518e21d82d568acbcd2e08d49b36c24a4171b01 /sys/dev | |
| parent | a2d8e114f4ae89fb3398cada332fa22f0f493a32 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/vinum/vinum.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/vinum/vinum.c b/sys/dev/vinum/vinum.c index 86c8fc0efd9e..455b8be38883 100644 --- a/sys/dev/vinum/vinum.c +++ b/sys/dev/vinum/vinum.c @@ -33,7 +33,7 @@ * otherwise) arising in any way out of the use of this software, even if * advised of the possibility of such damage. * - * $Id: vinum.c,v 1.17 1999/04/17 04:15:50 grog Exp $ + * $Id: vinum.c,v 1.24 1999/03/19 05:35:25 grog Exp grog $ */ #define STATIC static /* nothing while we're testing XXX */ @@ -45,7 +45,7 @@ #ifdef VINUMDEBUG #include <sys/reboot.h> int debug = 0; -extern total_malloced; +extern int total_malloced; extern int malloccount; extern struct mc malloced[]; #endif @@ -218,7 +218,7 @@ vinum_modevent(module_t mod, modeventtype_t type, void *unused) #endif for (i = 0; i < malloccount; i++) { - if (debug & DEBUG_EXITFREE) /* want to hear about them */ + if (debug & DEBUG_WARNINGS) /* want to hear about them */ log(LOG_WARNING, "vinum: exiting with %d bytes malloced from %s:%d\n", malloced[i].size, @@ -347,7 +347,7 @@ vinumopen(dev_t dev, return ENODEV; /* don't know what to do with these */ case VINUM_SUPERDEV_TYPE: - error = suser(p); /* are we root? */ + error = suser(p); /* are we root? */ if (error == 0) { /* yes, can do */ if (dev == VINUM_DAEMON_DEV) /* daemon device */ vinum_conf.flags |= VF_DAEMONOPEN; /* we're open */ |
