diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/privileges.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/privileges.c b/source3/lib/privileges.c index 05dff33307..8bb6108448 100644 --- a/source3/lib/privileges.c +++ b/source3/lib/privileges.c @@ -758,7 +758,7 @@ char* luid_to_privilege_name(const LUID *set) for ( i=0; !se_priv_equal(&privs[i].se_priv, &se_priv_end); i++ ) { if ( set->low == privs[i].luid.low ) { - fstrcpy( name, privs[set->low - 1].name ); + fstrcpy( name, privs[i].name ); return name; } } |