Commit 65854cf9 authored by Wayne Davison's avatar Wayne Davison

Changed the mode arg from an int to a mode_t.

parent 9ec1ef25
......@@ -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;
......
#define PERMSTRING_SIZE 11
void permstring(char *perms, int mode);
void permstring(char *perms, mode_t mode);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment