Wrap too long lines.
Requested by: Bruce.
This commit is contained in:
parent
bc24029963
commit
d82e5f5287
@ -36,7 +36,7 @@
|
||||
static char sccsid[] = "@(#)mkioconf.c 8.2 (Berkeley) 1/21/94";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id$";
|
||||
"$Id: mkioconf.c,v 1.31 1997/09/15 06:37:09 charnier Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <err.h>
|
||||
@ -1131,7 +1131,7 @@ news_ioconf()
|
||||
}
|
||||
if (dp->d_flags) {
|
||||
printf(
|
||||
"controllers (e.g. %s%d) don't have flags, only devices do\n",
|
||||
"controllers (e.g. %s%d) don't have flags, only devices do\n",
|
||||
dp->d_name, dp->d_unit);
|
||||
continue;
|
||||
}
|
||||
|
@ -36,7 +36,7 @@
|
||||
static char sccsid[] = "@(#)mkswapconf.c 8.1 (Berkeley) 6/6/93";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id$";
|
||||
"$Id: mkswapconf.c,v 1.13 1997/09/15 06:37:10 charnier Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
@ -156,7 +156,8 @@ nametodev(name, defunit, defslice, defpartition)
|
||||
cp++;
|
||||
unit = *cp ? atoi(cp) : defunit;
|
||||
if (unit < 0 || unit > 31) {
|
||||
warnx("%s: invalid device specification, unit out of range", name);
|
||||
warnx(
|
||||
"%s: invalid device specification, unit out of range", name);
|
||||
unit = defunit; /* carry on more checking */
|
||||
}
|
||||
if (*cp) {
|
||||
@ -170,7 +171,8 @@ nametodev(name, defunit, defslice, defpartition)
|
||||
if (*cp) {
|
||||
slice = atoi(cp);
|
||||
if (slice < 0 || slice >= MAX_SLICES - 1) {
|
||||
warnx("%s: invalid device specification, slice out of range",
|
||||
warnx(
|
||||
"%s: invalid device specification, slice out of range",
|
||||
cp);
|
||||
slice = defslice;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user