summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/statuspage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/statuspage.c b/source3/web/statuspage.c
index 647e4fcb5b..eda53b66ab 100644
--- a/source3/web/statuspage.c
+++ b/source3/web/statuspage.c
@@ -427,7 +427,7 @@ void status_page(void)
printf("<table border=1>\n");
printf("<tr><th>%s</th><th>%s</th><th>%s</th><th>%s</th><th>%s</th><th>%s</th></tr>\n", _("PID"), _("Sharing"), _("R/W"), _("Oplock"), _("File"), _("Date"));
- locking_init(1);
+ locking_init_readonly();
share_mode_forall(print_share_mode, NULL);
locking_end();
printf("</table>\n");