aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1997-09-16 07:11:13 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1997-09-16 07:11:13 +0000
commitbc8600f6502b009a652a7fe875a3f1e929425914 (patch)
treebc4fc1cbfa4bed222b0ebb06751f1c789f3e3157
parent9e06e6da51f314b57c1696d1b67ae04d28d805b4 (diff)
downloadsrc-bc8600f6502b009a652a7fe875a3f1e929425914.tar.gz
src-bc8600f6502b009a652a7fe875a3f1e929425914.zip
Police from style.9 and Bruce.
Notes
Notes: svn path=/head/; revision=29493
-rw-r--r--usr.sbin/config/config.y8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y
index 2e698c1d9ccd..e2fdc95c6a37 100644
--- a/usr.sbin/config/config.y
+++ b/usr.sbin/config/config.y
@@ -126,10 +126,10 @@ struct device *curp = 0;
#define ns(s) strdup(s)
-void init_dev __P((struct device *));
-int finddev __P((dev_t));
-void deverror __P((char *, char *));
int alreadychecked __P((dev_t, dev_t[], dev_t *));
+void deverror __P((char *, char *));
+int finddev __P((dev_t));
+void init_dev __P((struct device *));
void verifycomp __P((struct file_list *));
%}
@@ -662,6 +662,7 @@ void
yyerror(s)
char *s;
{
+
warnx("line %d: %s", yyline + 1, s);
}
@@ -1115,6 +1116,7 @@ void
deverror(systemname, devtype)
char *systemname, *devtype;
{
+
warnx("%s: %s device not configured", systemname, devtype);
}