factorial: Fix usage message to fit in with conventions.
[u/mdw/catacomb] / pixie.c
diff --git a/pixie.c b/pixie.c
index 993b60f..95c6252 100644 (file)
--- a/pixie.c
+++ b/pixie.c
@@ -1055,7 +1055,7 @@ static void c_sline(char *s, size_t len, void *p)
   else {
     char *q = str_getword(&s);
     if (strcmp(q, "FAIL") == 0)
-      die(1, "%s", p);
+      die(1, "%s", s);
     else if (strcmp(q, "INFO") == 0 ||
             strcmp(q, "ITEM") == 0)
       puts(s);