summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_status.c4
-rw-r--r--source3/utils/status.c2
-rw-r--r--source3/web/statuspage.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/net_status.c b/source3/utils/net_status.c
index bfc30eac78a..354111f6092 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 deba6a9523b..df742f73e79 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));
diff --git a/source3/web/statuspage.c b/source3/web/statuspage.c
index a88e5debd0e..e4d726c4fd2 100644
--- a/source3/web/statuspage.c
+++ b/source3/web/statuspage.c
@@ -230,7 +230,7 @@ static int traverse_fn3(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, void* st
return 0;
printf("<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>\n",
- crec.name,uidtoname(crec.uid),
+ crec.servicename,uidtoname(crec.uid),
gidtoname(crec.gid),procid_str_static(&crec.pid),
crec.machine,
tstring(crec.start));