summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-01-23 14:04:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:12 -0500
commit0773e797610f01729b434335614bf267618b8aac (patch)
treecd2d0b3efa0f943f3586d4a216ea1c282ab9306d /source3/utils
parente95e6044b06fa225b016f20ab53ee4082a8f5ae0 (diff)
downloadsamba-0773e797610f01729b434335614bf267618b8aac.tar.gz
samba-0773e797610f01729b434335614bf267618b8aac.tar.bz2
samba-0773e797610f01729b434335614bf267618b8aac.zip
r13082: revert an accidentally commited patch (still in progress)
(This used to be commit e43775fb3156bf29e4e412f01ad2d731aa866323)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/status.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c
index b9f1c161e4..f19a217aa6 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -103,13 +103,13 @@ static void print_share_mode(const struct share_mode_entry *e, const char *share
static int count;
if (count==0) {
d_printf("Locked files:\n");
- d_printf("Pid DenyMode Access R/W Oplock SharePath Name\n");
- d_printf("----------------------------------------------------------------------------------------\n");
+ d_printf("Pid DenyMode Access R/W Oplock SharePath Name\n");
+ d_printf("----------------------------------------------------------------------------------\n");
}
count++;
if (Ucrit_checkPid(procid_to_pid(&e->pid))) {
- d_printf("%-11s ",procid_str_static(&e->pid));
+ d_printf("%s ",procid_str_static(&e->pid));
switch (map_share_mode_to_deny_mode(e->share_access,
e->private_options)) {
case DENY_NONE: d_printf("DENY_NONE "); break;
@@ -166,7 +166,7 @@ static void print_brl(SMB_DEV_T dev, SMB_INO_T ino, struct process_id pid,
}
count++;
- d_printf("%08s %05x:%05x %s %9.0f %9.0f\n",
+ d_printf("%s %05x:%05x %s %9.0f %9.0f\n",
procid_str_static(&pid), (int)dev, (int)ino,
lock_type==READ_LOCK?"R":"W",
(double)start, (double)size);