=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tcfs/Attic/tcfsrmgroup.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/tcfs/Attic/tcfsrmgroup.c 2000/06/18 22:07:24 1.1 --- src/usr.bin/tcfs/Attic/tcfsrmgroup.c 2000/06/19 03:23:04 1.2 *************** *** 73,79 **** printf ("Group id of the TCFS group to remove from the database: "); fgets (buff,2048,stdin); ! len = strlen(buff) - 2; buff[len] = buff[len] == '\n' ? 0 : buff[len]; gid=(gid_t)atoi(buff); --- 73,79 ---- printf ("Group id of the TCFS group to remove from the database: "); fgets (buff,2048,stdin); ! len = strlen(buff) - 1; buff[len] = buff[len] == '\n' ? 0 : buff[len]; gid=(gid_t)atoi(buff);