The output of `ccdconfig -g' is supposed to be a valid configuration file.
Prefix two messages with `# ' so they're comments.
This commit is contained in:
parent
464d5b30e5
commit
6ee0ed93a2
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ccdconfig.c,v 1.17 1997/12/30 05:40:47 mrg Exp $ */
|
||||
/* $NetBSD: ccdconfig.c,v 1.18 1997/12/30 05:58:06 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
|
||||
@ -41,7 +41,7 @@
|
||||
__COPYRIGHT(
|
||||
"@(#) Copyright (c) 1996, 1997\
|
||||
The NetBSD Foundation, Inc. All rights reserved.");
|
||||
__RCSID("$NetBSD: ccdconfig.c,v 1.17 1997/12/30 05:40:47 mrg Exp $");
|
||||
__RCSID("$NetBSD: ccdconfig.c,v 1.18 1997/12/30 05:58:06 mycroft Exp $");
|
||||
#endif
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -572,7 +572,7 @@ dump_ccd(argc, argv, action)
|
||||
}
|
||||
|
||||
if (numconfiged == 0)
|
||||
printf("no concatenated disks configured\n");
|
||||
printf("# no concatenated disks configured\n");
|
||||
} else {
|
||||
while (argc) {
|
||||
cp = *argv++; --argc;
|
||||
@ -594,7 +594,7 @@ dump_ccd(argc, argv, action)
|
||||
else
|
||||
print_ccd_info(&cs[i], kd);
|
||||
} else
|
||||
printf("ccd%d not configured\n", i);
|
||||
printf("# ccd%d not configured\n", i);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user