mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
parent
a85390ae69
commit
23b239625c
@ -29,7 +29,6 @@ convert a security permissions into a string
|
||||
char *get_sec_mask_str(uint32 type)
|
||||
{
|
||||
static fstring typestr="";
|
||||
int i;
|
||||
|
||||
typestr[0] = 0;
|
||||
|
||||
@ -56,7 +55,7 @@ char *get_sec_mask_str(uint32 type)
|
||||
if (type & DELETE_ACCESS)
|
||||
fstrcat(typestr, "DELETE_ACCESS ");
|
||||
|
||||
printf("\t\tSpecific bits: 0x%x\n", type&SPECIFIC_RIGHTS_MASK);
|
||||
printf("\t\tSpecific bits: 0x%lx\n", type&SPECIFIC_RIGHTS_MASK);
|
||||
|
||||
return typestr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user