diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-08-16 19:23:15 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-08-16 19:23:15 +0000 |
commit | e7d83953a02bf4067a6267751263cf95942aa121 (patch) | |
tree | 5836b6812e77674498047389bc6c2aea40947f51 /usr.sbin/vnconfig/vnconfig.c | |
parent | 2839ace62fe1cfba56e74fda3c00955a64bcbb76 (diff) |
slight cleanup
Diffstat (limited to 'usr.sbin/vnconfig/vnconfig.c')
-rw-r--r-- | usr.sbin/vnconfig/vnconfig.c | 5 |
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); |