diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-09 07:05:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-09 07:05:10 +0000 |
commit | e794dc8249450a31cf35cb2aa88a33779325b689 (patch) | |
tree | 7fe943aa48c43bd24ed6b9267ab44c0191c44d4a /games/fish | |
parent | 5b1ba3114a10793470c731e714160f24131b690d (diff) |
correct type on last arg to execl(); nordin@cse.ogi.edu
Diffstat (limited to 'games/fish')
-rw-r--r-- | games/fish/fish.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/fish/fish.c b/games/fish/fish.c index 4408530dc0c..408b9fc4dbc 100644 --- a/games/fish/fish.c +++ b/games/fish/fish.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fish.c,v 1.8 2000/04/08 12:22:39 pjanzen Exp $ */ +/* $OpenBSD: fish.c,v 1.9 2001/07/09 07:04:29 deraadt Exp $ */ /* $NetBSD: fish.c,v 1.3 1995/03/23 08:28:18 cgd Exp $ */ /*- @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)fish.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: fish.c,v 1.8 2000/04/08 12:22:39 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: fish.c,v 1.9 2001/07/09 07:04:29 deraadt Exp $"; #endif #endif /* not lint */ @@ -505,7 +505,7 @@ instructions() } if (dup2(fd, 0) == -1) err(1, "dup2"); - (void)execl(_PATH_BSHELL, "sh", "-c", pager, NULL); + (void)execl(_PATH_BSHELL, "sh", "-c", pager, (char *)NULL); err(1, "exec sh -c %s", pager); /* NOT REACHED */ case -1: |