summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-08-16 19:23:15 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-08-16 19:23:15 +0000
commite7d83953a02bf4067a6267751263cf95942aa121 (patch)
tree5836b6812e77674498047389bc6c2aea40947f51 /usr.sbin
parent2839ace62fe1cfba56e74fda3c00955a64bcbb76 (diff)
slight cleanup
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/vnconfig/vnconfig.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/vnconfig/vnconfig.c b/usr.sbin/vnconfig/vnconfig.c
index 570b8c0af77..ee175e57c55 100644
--- a/usr.sbin/vnconfig/vnconfig.c
+++ b/usr.sbin/vnconfig/vnconfig.c
@@ -61,7 +61,9 @@
int verbose = 0;
void usage __P((void));
+int config __P((char *, char *, int));
+int
main(argc, argv)
int argc;
char **argv;
@@ -97,6 +99,7 @@ main(argc, argv)
exit(rv);
}
+int
config(dev, file, action)
char *dev;
char *file;
@@ -137,7 +140,7 @@ config(dev, file, action)
printf("%s: %d bytes on %s\n", dev, vndio.vnd_size,
file);
}
-done:
+
fclose(f);
fflush(stdout);
return (rv < 0);