diff options
Diffstat (limited to 'fish/fish.c')
-rw-r--r-- | fish/fish.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fish/fish.c b/fish/fish.c index c9a137b9..c7c342ab 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -1,4 +1,4 @@ -/* $NetBSD: fish.c,v 1.21 2011/08/31 16:24:55 plunky Exp $ */ +/* $NetBSD: fish.c,v 1.22 2011/09/01 07:18:50 plunky Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 1993\ #if 0 static char sccsid[] = "@(#)fish.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: fish.c,v 1.21 2011/08/31 16:24:55 plunky Exp $"); +__RCSID("$NetBSD: fish.c,v 1.22 2011/09/01 07:18:50 plunky Exp $"); #endif #endif /* not lint */ @@ -456,7 +456,7 @@ instructions(void) err(1, "open %s", _PATH_INSTR); if (dup2(fd, 0) == -1) err(1, "dup2"); - (void)execl("/bin/sh", "sh", "-c", pager, NULL); + (void)execl("/bin/sh", "sh", "-c", pager, (char *) NULL); err(1, "exec sh -c %s", pager); /*NOTREACHED*/ case -1: |