]> diplodocus.org Git - nmh/blobdiff - uip/picksbr.c
Display the command when reporting timing.
[nmh] / uip / picksbr.c
index 432bcf10d137b4e31a40bcec988c0712ed12c24f..a51847990b1045f011fb855dbb9e17a389daccf6 100644 (file)
@@ -519,7 +519,10 @@ PRaction (struct nexus *n, int level)
                dasctime (&n->n_tws, TW_NULL));
        return;
     }
-    fprintf(stderr, "UNKNOWN(%#llx)\n", (unsigned long long)n->n_action);
+
+    generic_pointer gp;
+    gp.f = (void (*)(void))n->n_action;
+    fprintf(stderr, "UNKNOWN(%p)\n", gp.v);
 }
 
 
@@ -955,7 +958,7 @@ TWSaction(struct nexus *n, FILE *fp, int msgnum, long start, long stop)
                return 0;
 
            default: 
-               adios (NULL, "internal error -- you lose");
+               die("internal error -- you lose");
        }
        break;
     }