]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Changed the mode arg from an int to a mode_t.
authorWayne Davison <wayned@samba.org>
Mon, 30 Jan 2006 00:39:59 +0000 (00:39 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 30 Jan 2006 00:39:59 +0000 (00:39 +0000)
lib/permstring.c
lib/permstring.h

index fc75d088b13e76cf676a75f905c7e2cdcb8f6260..3834b7a1538afa5074420b25624194b9cb10b439 100644 (file)
@@ -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;
index d74787d85f8b645e4d814964fa377e402d6b2a07..b996f2a2e339e75c111c4ffdabd4cafad13e83e5 100644 (file)
@@ -1,3 +1,3 @@
 #define PERMSTRING_SIZE 11
 
-void permstring(char *perms, int mode);
+void permstring(char *perms, mode_t mode);