diff options
author | Jeremy Allison <jra@samba.org> | 2002-04-30 13:28:41 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-04-30 13:28:41 +0000 |
commit | d04b55f2186fb8af998cf61c576771a5f72f4892 (patch) | |
tree | 9ff8c3a7cf34cefc0ee9a550a3bb1236a9e77595 /source/utils/status.c | |
parent | 73267ca42d9eddabb71b31b4c5068ebbe7bc9f7c (diff) | |
download | samba-d04b55f2186fb8af998cf61c576771a5f72f4892.tar.gz samba-d04b55f2186fb8af998cf61c576771a5f72f4892.tar.xz samba-d04b55f2186fb8af998cf61c576771a5f72f4892.zip |
Start of merge to 2_2_RELEASE branch for release.
Jeremy.
Diffstat (limited to 'source/utils/status.c')
-rw-r--r-- | source/utils/status.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/utils/status.c b/source/utils/status.c index 01d80ad53dd..044cd7a6a16 100644 --- a/source/utils/status.c +++ b/source/utils/status.c @@ -101,8 +101,8 @@ static void print_share_mode(share_mode_entry *e, char *fname) static int count; if (count==0) { printf("Locked files:\n"); - printf("Pid DenyMode R/W Oplock Name\n"); - printf("--------------------------------------------------\n"); + printf("Pid DenyMode Access R/W Oplock Name\n"); + printf("--------------------------------------------------------------\n"); } count++; @@ -116,6 +116,7 @@ static void print_share_mode(share_mode_entry *e, char *fname) case DENY_WRITE:printf("DENY_WRITE "); break; case DENY_FCB: printf("DENY_FCB "); break; } + printf("0x%-8x ",(unsigned int)e->desired_access); switch (e->share_mode&0xF) { case 0: printf("RDONLY "); break; case 1: printf("WRONLY "); break; @@ -135,7 +136,7 @@ static void print_share_mode(share_mode_entry *e, char *fname) else printf("NONE "); - printf(" %s %s",dos_to_unix(fname,False), + printf(" %s %s",dos_to_unix_static(fname), asctime(LocalTime((time_t *)&e->time.tv_sec))); } } |