summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratox.c b/ratox.c
index c79dd54..2198e7f 100644
--- a/ratox.c
+++ b/ratox.c
@@ -718,7 +718,7 @@ localinit(void)
r = sizeof(status) - 1;
status[r] = '\0';
ftruncate(gslots[STATUS].fd[OUT], 0);
- dprintf(gslots[STATUS].fd[OUT], "%s\n", name);
+ dprintf(gslots[STATUS].fd[OUT], "%s\n", status);
/* Dump ID */
fd = open("id", O_WRONLY | O_CREAT, 0644);