summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 03:57:47 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 03:57:47 +0000
commit4f960dd75f181e9fa2edc44324f15f0ab5c64b37 (patch)
tree15a9c7203efd47ba6dde2896fdb6327dddd4547f /usr.sbin/config
parent30ef9631c5eac7f8254bd3d7ad274d34d9f518b8 (diff)
downloadFreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.zip
FreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.sbin/config')
-rw-r--r--usr.sbin/config/config.h2
-rw-r--r--usr.sbin/config/mkioconf.c4
-rw-r--r--usr.sbin/config/mkmakefile.c10
-rw-r--r--usr.sbin/config/mkswapconf.c4
4 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/config/config.h b/usr.sbin/config/config.h
index d6efbf7..190e1a2 100644
--- a/usr.sbin/config/config.h
+++ b/usr.sbin/config/config.h
@@ -43,7 +43,7 @@
#define NODEV ((dev_t)-1)
struct file_list {
- struct file_list *f_next;
+ struct file_list *f_next;
char *f_fn; /* the name */
u_char f_type; /* see below */
u_char f_flags; /* see below */
diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c
index 2e8ef48..d2b1535 100644
--- a/usr.sbin/config/mkioconf.c
+++ b/usr.sbin/config/mkioconf.c
@@ -102,7 +102,7 @@ vax_ioconf()
continue;
}
if (dp->d_slave != UNKNOWN) {
- printf("can't specify slave number for %s%d\n",
+ printf("can't specify slave number for %s%d\n",
dp->d_name, dp->d_unit);
continue;
}
@@ -865,7 +865,7 @@ scbus_devtab(fp, dev_idp)
"%s%s which is not fixed at a single adapter.\n",
mp->d_name, wnum(mp->d_unit));
}
-
+
fprintf(fp, "{ ");
fprintf(fp, "\"%s\", ", dp->d_name);
id_put(fp, dp->d_unit, ", ");
diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c
index fce7082..14e06f5 100644
--- a/usr.sbin/config/mkmakefile.c
+++ b/usr.sbin/config/mkmakefile.c
@@ -234,7 +234,7 @@ read_files()
register struct opt *op;
char *wd, *this, *needs, *special, *depends, *clean;
char fname[32];
- int nreqs, first = 1, configdep, isdup, std, filetype,
+ int nreqs, first = 1, configdep, isdup, std, filetype,
imp_rule, no_obj, before_depend;
ftab = 0;
@@ -253,7 +253,7 @@ next:
/*
* filename [ standard | optional ] [ config-dependent ]
* [ dev* | profiling-routine ] [ device-driver] [ no-obj ]
- * [ compile-with "compile rule" [no-implicit-rule] ]
+ * [ compile-with "compile rule" [no-implicit-rule] ]
* [ dependency "dependency-list"] [ before-depend ]
* [ clean "file-list"]
*/
@@ -624,15 +624,15 @@ do_rules(f)
else {
*cp = '\0';
if (och == 'o') {
- fprintf(f, "%so:\n\t-cp $S/%so .\n\n",
+ fprintf(f, "%so:\n\t-cp $S/%so .\n\n",
tail(np), np);
continue;
}
if (ftp->f_depends)
- fprintf(f, "%so: $S/%s%c %s\n", tail(np),
+ fprintf(f, "%so: $S/%s%c %s\n", tail(np),
np, och, ftp->f_depends);
else
- fprintf(f, "%so: $S/%s%c\n", tail(np),
+ fprintf(f, "%so: $S/%s%c\n", tail(np),
np, och);
}
tp = tail(np);
diff --git a/usr.sbin/config/mkswapconf.c b/usr.sbin/config/mkswapconf.c
index 94b5dce..9722d9c 100644
--- a/usr.sbin/config/mkswapconf.c
+++ b/usr.sbin/config/mkswapconf.c
@@ -195,7 +195,7 @@ char *
devtoname(dev)
dev_t dev;
{
- char buf[80];
+ char buf[80];
register struct devdescription *dp;
int part;
char partname[2];
@@ -242,7 +242,7 @@ initdevtable()
* Allow a comment *
\*******************************/
if(linebuf[0] == '#') continue;
-
+
if (sscanf(linebuf, "%s\t%d\n", buf, &maj) == 2) {
*dp = (struct devdescription *)malloc(sizeof (**dp));
(*dp)->dev_name = ns(buf);
OpenPOWER on IntegriCloud