diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_status.c | 4 | ||||
-rw-r--r-- | source3/utils/status.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_status.c b/source3/utils/net_status.c index bfc30eac78..354111f609 100644 --- a/source3/utils/net_status.c +++ b/source3/utils/net_status.c @@ -102,7 +102,7 @@ static int show_share(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, } d_printf("%-10.10s %s %-12s %s", - crec.name,procid_str_static(&crec.pid), + crec.servicename,procid_str_static(&crec.pid), crec.machine, time_to_asc(crec.start)); @@ -168,7 +168,7 @@ static int show_share_parseable(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, } d_printf("%s\\%s\\%s\\%s\\%s\\%s\\%s", - crec.name,procid_str_static(&crec.pid), + crec.servicename,procid_str_static(&crec.pid), guest ? "" : uidtoname(ids->entries[i].uid), guest ? "" : gidtoname(ids->entries[i].gid), crec.machine, diff --git a/source3/utils/status.c b/source3/utils/status.c index deba6a9523..df742f73e7 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -205,7 +205,7 @@ static int traverse_fn1(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, void *st } d_printf("%-10s %s %-12s %s", - crec.name,procid_str_static(&crec.pid), + crec.servicename,procid_str_static(&crec.pid), crec.machine, time_to_asc(crec.start)); |