From: Wayne Davison Date: Mon, 30 Jan 2006 00:39:59 +0000 (+0000) Subject: Changed the mode arg from an int to a mode_t. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/65854cf91aacc104c0bda62ba4646f2057cd0bb4 Changed the mode arg from an int to a mode_t. --- diff --git a/lib/permstring.c b/lib/permstring.c index fc75d088..3834b7a1 100644 --- a/lib/permstring.c +++ b/lib/permstring.c @@ -26,8 +26,7 @@ * * @param buf buffer of at least 11 characters **/ -void permstring(char *perms, - int mode) +void permstring(char *perms, mode_t mode) { static const char *perm_map = "rwxrwxrwx"; int i; diff --git a/lib/permstring.h b/lib/permstring.h index d74787d8..b996f2a2 100644 --- a/lib/permstring.h +++ b/lib/permstring.h @@ -1,3 +1,3 @@ #define PERMSTRING_SIZE 11 -void permstring(char *perms, int mode); +void permstring(char *perms, mode_t mode);