mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
Fixes for supergroups on Darwin 64bit
Some fixes needed to make supergroups build on 64bit Mac OS 10.5 Change-Id: I1aea100b138a8212010dd9f511377c993589977f Reviewed-on: http://gerrit.openafs.org/1060 Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
e4eb19cdc0
commit
daff400662
@ -35,12 +35,8 @@
|
||||
#ifdef SUPERGROUPS
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include "map.h"
|
||||
#ifdef STDLIB_HAS_MALLOC_PROTOS
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
#include "malloc.h"
|
||||
#endif
|
||||
#include "map.h"
|
||||
|
||||
#undef PRINT_MAP_ERROR
|
||||
/* #define MAP_DEBUG */
|
||||
|
@ -262,7 +262,8 @@ main(int argc, char **argv)
|
||||
|| (sizeof(struct prentryg) != ENTRYSIZE)) {
|
||||
fprintf(stderr,
|
||||
"The structures for the database records are different"
|
||||
" sizes\n" "struct prentry = %d\n" "struct prentryg = %d\n"
|
||||
" sizes\n" "struct prentry = %" AFS_SIZET_FMT "\n"
|
||||
"struct prentryg = %" AFS_SIZET_FMT "\n"
|
||||
"ENTRYSIZE = %d\n", sizeof(struct prentry),
|
||||
sizeof(struct prentryg), ENTRYSIZE);
|
||||
PT_EXIT(1);
|
||||
|
Loading…
Reference in New Issue
Block a user