summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/status.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 58efecbce1..6f4b9eb28c 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -90,8 +90,8 @@ static void print_share_mode(share_mode_entry *e, char *fname)
static int count;
if (count==0) {
d_printf("Locked files:\n");
- d_printf("Pid DenyMode R/W Oplock Name\n");
- d_printf("--------------------------------------------------\n");
+ d_printf("Pid DenyMode Access R/W Oplock Name\n");
+ d_printf("--------------------------------------------------------------\n");
}
count++;
@@ -105,6 +105,7 @@ static void print_share_mode(share_mode_entry *e, char *fname)
case DENY_WRITE:printf("DENY_WRITE "); break;
case DENY_FCB: d_printf("DENY_FCB "); break;
}
+ d_printf("0x%-8x ",(unsigned int)e->desired_access);
switch (e->share_mode&0xF) {
case 0: d_printf("RDONLY "); break;
case 1: d_printf("WRONLY "); break;