=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tcfs/Attic/tcfsrmgroup.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/usr.bin/tcfs/Attic/tcfsrmgroup.c 2000/06/20 06:45:16 1.8 +++ src/usr.bin/tcfs/Attic/tcfsrmgroup.c 2000/06/20 08:59:53 1.9 @@ -1,4 +1,4 @@ -/* $OpenBSD: tcfsrmgroup.c,v 1.8 2000/06/20 06:45:16 fgsch Exp $ */ +/* $OpenBSD: tcfsrmgroup.c,v 1.9 2000/06/20 08:59:53 fgsch Exp $ */ /* * Transparent Cryptographic File System (TCFS) for NetBSD @@ -31,7 +31,7 @@ rmgroup_main(int argn, char *argv[]) { int val; - gid_t gid; + gid_t gid = 0; int have_gid = FALSE, be_verbose = FALSE; /* @@ -71,7 +71,7 @@ char *buff = NULL; int len; - buff = (char *)calloc(2048, sizeof(char)); + buff = (char *)malloc(2048); if (!buff) tcfs_error(ER_MEM, NULL); @@ -98,4 +98,6 @@ if (!tcfs_rmgroup(gid)) tcfs_error(ER_CUSTOM, "Wrong ID or an error as occurred.\n"); + + exit(0); }