summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/stats.c b/sys/src/cmd/stats.c
index a58e62f50..5ded341d6 100644
--- a/sys/src/cmd/stats.c
+++ b/sys/src/cmd/stats.c
@@ -1355,11 +1355,11 @@ main(int argc, char *argv[])
fprint(2, "stats: initdraw failed: %r\n");
exits("initdraw");
}
+ display->locking = 1; /* tell library we're using the display lock */
colinit();
einit(Emouse|Ekeyboard);
startproc(inputproc, Inputproc);
pids[Mainproc] = getpid();
- display->locking = 1; /* tell library we're using the display lock */
resize();