diff options
| author | Ezra Peisach <epeisach@mit.edu> | 2001-06-11 20:10:01 +0000 |
|---|---|---|
| committer | Ezra Peisach <epeisach@mit.edu> | 2001-06-11 20:10:01 +0000 |
| commit | 02a38199507d89173b8e8f26ad347d64c9f45114 (patch) | |
| tree | 2e4e9d679ff289269c02d39a8186f6b22cd733d3 /src/appl/bsd/forward.c | |
| parent | bdbce5a9ea28615ffe09897fce00ff4103174606 (diff) | |
| download | krb5-02a38199507d89173b8e8f26ad347d64c9f45114.tar.gz krb5-02a38199507d89173b8e8f26ad347d64c9f45114.tar.xz krb5-02a38199507d89173b8e8f26ad347d64c9f45114.zip | |
* configure.in (SETENVOBJ): If setenv is not present on system,
define NEED_SETENV as well as linking in local sources.
* defines.h: Include prototype for setenv() if NEED_SETENV defined.
* krlogin.c (prf): Declare as void. Used only with one argument -
get rid of pseudo-varargs behaviour.
* krlogind.c (recvauth): Include k5-util.h for
krb5_compat_recvauth_version() prototype. Declare sendoob() void.
* krshd.c: Include k5-util.h for krb5_compat_recvauth_version()
prototype.
* login.c: Include setenv prototype if NEED_SETENV defined. Cast
arguments to printf to match format string.
* v4rcp.c (source): Cast argument to sprintf() to match format string.
* krcp.c (rsource): Likewise.
* forward.c (rd_and_store_for_creds): Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13334 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/bsd/forward.c')
| -rw-r--r-- | src/appl/bsd/forward.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/appl/bsd/forward.c b/src/appl/bsd/forward.c index d1bbeccd9..53f67e667 100644 --- a/src/appl/bsd/forward.c +++ b/src/appl/bsd/forward.c @@ -54,7 +54,7 @@ rd_and_store_for_creds(context, auth_context, inbuf, ticket, ccache) * the rlogind or rshd. Set the environment variable as well. */ - sprintf(ccname, "FILE:/tmp/krb5cc_p%d", getpid()); + sprintf(ccname, "FILE:/tmp/krb5cc_p%ld", (long) getpid()); setenv("KRB5CCNAME", ccname, 1); retval = krb5_cc_resolve(context, ccname, ccache); |
