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/krcp.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/krcp.c')
-rw-r--r-- | src/appl/bsd/krcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/appl/bsd/krcp.c b/src/appl/bsd/krcp.c index 63d6bf0ef..21852046e 100644 --- a/src/appl/bsd/krcp.c +++ b/src/appl/bsd/krcp.c @@ -887,7 +887,7 @@ void rsource(name, statp) return; } } - (void) sprintf(buf, "D%04o %d %s\n", statp->st_mode&07777, 0, last); + (void) sprintf(buf, "D%04lo %d %s\n", statp->st_mode&07777, 0, last); (void) rcmd_stream_write(rem, buf, strlen(buf), 0); if (response() < 0) { closedir(d); |