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