X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/b817bfc642225b8c3c0b6a7e42d1fb949b61a606..dfff4aeacb0fc7032c402597880c79fd0c9d360e:/pixie.c diff --git a/pixie.c b/pixie.c index 2ce007d..d0d5c20 100644 --- a/pixie.c +++ b/pixie.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: pixie.c,v 1.14 2004/04/08 01:36:15 mdw Exp $ + * $Id$ * * Passphrase pixie for Catacomb * @@ -154,7 +154,7 @@ static void p_free(phrase *p) { if (p->t) sel_rmtimer(&p->timer); - free(p->tag); + xfree(p->tag); l_free(&lm, p->p); p->next->prev = p->prev; p->prev->next = p->next; @@ -385,7 +385,7 @@ static int p_request(const char *msg, const char *tag, char *buf, size_t sz) if (dup2(fd[1], STDOUT_FILENO) < 0) _exit(127); close(fd[0]); - execl("/bin/sh", "sh", "-c", d.buf, (void *)0); + execl("/bin/sh", "sh", "-c", d.buf, (char *)0); _exit(127); }