diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-13 04:10:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-13 04:10:55 +0000 |
commit | 66d75b04dbffcde470d2669573e84828a017036d (patch) | |
tree | 241673f9a4b8adccaafed0b3744ca49c7379a704 /sbin | |
parent | faf482c28ee8c89945c6082b1cd8edf3b5938e3e (diff) |
from netbsd:
Fix handling of "-M core" and "-N system"; a real brain-o on my part.
Fix related typo in manual page.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ccdconfig/ccdconfig.8 | 4 | ||||
-rw-r--r-- | sbin/ccdconfig/ccdconfig.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sbin/ccdconfig/ccdconfig.8 b/sbin/ccdconfig/ccdconfig.8 index c796f97e3a4..c59b9f2b179 100644 --- a/sbin/ccdconfig/ccdconfig.8 +++ b/sbin/ccdconfig/ccdconfig.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: ccdconfig.8,v 1.1 1995/08/17 16:37:18 thorpej Exp $ +.\" $NetBSD: ccdconfig.8,v 1.1.2.1 1995/11/11 02:43:33 thorpej Exp $ .\" .\" Copyright (c) 1995 Jason R. Thorpe. .\" All rights reserved. @@ -91,7 +91,7 @@ ccd is dumped. Otherwise, the configuration of each listed ccd is dumped. Extract values associated with the name list from .Pa core instead of the default -.Pa /dev/kmem . +.Pa /dev/mem . .It Fl N Ar system Extract the name list from .Pa system diff --git a/sbin/ccdconfig/ccdconfig.c b/sbin/ccdconfig/ccdconfig.c index 2df70c7e744..35f27f7b9df 100644 --- a/sbin/ccdconfig/ccdconfig.c +++ b/sbin/ccdconfig/ccdconfig.c @@ -1,4 +1,4 @@ -/* $NetBSD: ccdconfig.c,v 1.2 1995/08/23 01:06:59 thorpej Exp $ */ +/* $NetBSD: ccdconfig.c,v 1.2.2.1 1995/11/11 02:43:35 thorpej Exp $ */ /* * Copyright (c) 1995 Jason R. Thorpe. @@ -107,7 +107,7 @@ main(argc, argv) { int ch, options = 0, action = CCD_CONFIG; - while ((ch = getopt(argc, argv, "cCf:guUv")) != -1) { + while ((ch = getopt(argc, argv, "cCf:gM:N:uUv")) != -1) { switch (ch) { case 'c': action = CCD_CONFIG; @@ -132,7 +132,7 @@ main(argc, argv) break; case 'N': - core = optarg; + kernel = optarg; break; case 'u': |