summaryrefslogtreecommitdiff
path: root/usr.bin/tcfs/tcfsgenkey.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-06-20 08:59:54 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-06-20 08:59:54 +0000
commit4f2787a350667e8f4b89a64bcc28eb25b6a0bf62 (patch)
tree285b7478875a2cc02d80ce2c5fc4d7ea00e82766 /usr.bin/tcfs/tcfsgenkey.c
parent7642cb8aa780d2f881f070a40d305068b7dc982a (diff)
fix warnings during compilation. replace a few more calloc's with
malloc's; no need to clean the buffer for fgets.
Diffstat (limited to 'usr.bin/tcfs/tcfsgenkey.c')
-rw-r--r--usr.bin/tcfs/tcfsgenkey.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tcfs/tcfsgenkey.c b/usr.bin/tcfs/tcfsgenkey.c
index c5b1aa1b7c7..5ac39401ad2 100644
--- a/usr.bin/tcfs/tcfsgenkey.c
+++ b/usr.bin/tcfs/tcfsgenkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcfsgenkey.c,v 1.8 2000/06/20 06:45:16 fgsch Exp $ */
+/* $OpenBSD: tcfsgenkey.c,v 1.9 2000/06/20 08:59:53 fgsch Exp $ */
/*
* Transparent Cryptographic File System (TCFS) for NetBSD
@@ -106,4 +106,6 @@ genkey_main(int argn, char *argv[])
tcfs_error(ER_CUSTOM, "Error: cannot generate key.");
tcfs_error(ER_CUSTOM, "\nKey succesfully generated.");
+
+ exit(0);
}