diff options
author | Jeremy Allison <jra@samba.org> | 2004-02-02 21:32:35 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-02-02 21:32:35 +0000 |
commit | 9e460df0b99b4b7a74dc58bfd0b8a49918de7abd (patch) | |
tree | dd65f647ea6644a35907b0d27f00d88634fc0fbf | |
parent | 4ddc620f6b9445d32c3831b2009bd0db784b41a7 (diff) | |
download | samba-9e460df0b99b4b7a74dc58bfd0b8a49918de7abd.tar.gz samba-9e460df0b99b4b7a74dc58bfd0b8a49918de7abd.tar.bz2 samba-9e460df0b99b4b7a74dc58bfd0b8a49918de7abd.zip |
Merge from 3.0.
Jeremy.
(This used to be commit 5c5545bd44cdaf4a0b75b0c1c22dd74bb278a6a5)
-rw-r--r-- | source3/nsswitch/winbind_nss_linux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/winbind_nss_linux.c b/source3/nsswitch/winbind_nss_linux.c index 362047f62b..ae2bcc7ade 100644 --- a/source3/nsswitch/winbind_nss_linux.c +++ b/source3/nsswitch/winbind_nss_linux.c @@ -38,7 +38,7 @@ extern int winbindd_fd; are the pointers passed in by the C library to the _nss_ntdom_* functions. */ -static char *get_static(char **buffer, int *buflen, int len) +static char *get_static(char **buffer, size_t *buflen, size_t len) { char *result; @@ -1080,7 +1080,7 @@ _nss_winbind_uidtosid(uid_t uid, char **sid, char *buffer, struct winbindd_request request; #ifdef DEBUG_NSS - fprintf(stderr, "[%5d]: uidtosid %s\n", getpid(), name); + fprintf(stderr, "[%5u]: uidtosid %u\n", (unsigned int)getpid(), (unsigned int)uid); #endif ZERO_STRUCT(response); @@ -1119,7 +1119,7 @@ _nss_winbind_gidtosid(gid_t gid, char **sid, char *buffer, struct winbindd_request request; #ifdef DEBUG_NSS - fprintf(stderr, "[%5d]: gidtosid %s\n", getpid(), name); + fprintf(stderr, "[%5u]: gidtosid %u\n", (unsigned int)getpid(), (unsigned int)gid); #endif ZERO_STRUCT(response); |