summaryrefslogtreecommitdiff
path: root/lib/permstring.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-01-30 00:39:59 +0000
committerWayne Davison <wayned@samba.org>2006-01-30 00:39:59 +0000
commit65854cf91aacc104c0bda62ba4646f2057cd0bb4 (patch)
tree13ec0f6d32b9811bbcf2d369b8b4fbfde337c3da /lib/permstring.c
parent9ec1ef253534e726a5c8c1b8e665c66d71fd6e30 (diff)
downloadrsync-65854cf91aacc104c0bda62ba4646f2057cd0bb4.tar.gz
Changed the mode arg from an int to a mode_t.
Diffstat (limited to 'lib/permstring.c')
-rw-r--r--lib/permstring.c3
1 files changed, 1 insertions, 2 deletions
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;