From: mdw Date: Thu, 24 Jun 1999 16:02:12 +0000 (+0000) Subject: Fix call to `execl'. X-Git-Tag: 1.0.2~33 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/sw-tools/commitdiff_plain/77bef5486b87185ec9391c2734b2d88d2a3521fb Fix call to `execl'. --- diff --git a/src/sw_info.c b/src/sw_info.c index 4798d95..a6edb4c 100644 --- a/src/sw_info.c +++ b/src/sw_info.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: sw_info.c,v 1.4 1999/06/24 15:57:07 mdw Exp $ + * $Id: sw_info.c,v 1.5 1999/06/24 16:02:12 mdw Exp $ * * Maintenance of `.sw-info' files * @@ -29,6 +29,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: sw_info.c,v $ + * Revision 1.5 1999/06/24 16:02:12 mdw + * Fix call to `execl'. + * * Revision 1.4 1999/06/24 15:57:07 mdw * Stupid bug fix. Code wouldn't even compile. Tut. * @@ -484,7 +487,7 @@ int sw_commit(int argc, char *argv[]) /* --- Run the commit check script --- */ execl(PREFIX "/share/sw-precommit", "sw-precommit", - sw.package, (void *)0); + sw.package, (char *)0); if (errno == ENOENT) _exit(0); die(1, "couldn't run " PREFIX "/share/sw-precommit: %s",