Make the ptclient utility build again, and add it to the ptserver
Makefile so that it is built by default and, hopefully, won't
bitrot again.
Change-Id: I888a9d4392b62ecb2d7556694400a2853658052a
Reviewed-on: http://gerrit.openafs.org/7841
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
all: ptserver pts pt_util db_verify ${TOP_LIBDIR}/libprot.a \
- depinstall readgroup readpwd testpt
+ depinstall readgroup readpwd testpt ptclient
generated: \
pterror.h pterror.c \
#ifndef AFS_PTHREAD_ENV
int
-osi_audit()
+osi_audit(void)
{
/* OK, this REALLY sucks bigtime, but I can't tell who is calling
* afsconf_CheckAuth easily, and only *SERVERS* should be calling osi_audit
if (code) {
afs_com_err(whoami, PRBADARG,
"error reading opcode in line '%s', got '%.*s'", line,
- sizeof(op), op);
+ (int) sizeof(op), op);
exit(1);
}
if (strlen(op) == 0)
else
printf("Unknown op: '%s'! ? for help\n", op);
}
+ return 0;
}