From 05e32d2c4644c0f6f1cef31873e8d2d0642efa1c Mon Sep 17 00:00:00 2001 From: plunky Date: Thu, 1 Sep 2011 07:18:50 +0000 Subject: reinstate NULL cast by request, where the NULL was being passed as a vararg --- hunt/hunt/hunt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hunt/hunt') diff --git a/hunt/hunt/hunt.c b/hunt/hunt/hunt.c index 30bdb55a..133741b7 100644 --- a/hunt/hunt/hunt.c +++ b/hunt/hunt/hunt.c @@ -1,4 +1,4 @@ -/* $NetBSD: hunt.c,v 1.40 2011/08/31 16:24:56 plunky Exp $ */ +/* $NetBSD: hunt.c,v 1.41 2011/09/01 07:18:50 plunky Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include #ifndef lint -__RCSID("$NetBSD: hunt.c,v 1.40 2011/08/31 16:24:56 plunky Exp $"); +__RCSID("$NetBSD: hunt.c,v 1.41 2011/09/01 07:18:50 plunky Exp $"); #endif /* not lint */ #include @@ -624,10 +624,10 @@ start_driver(void) #else if (use_port == NULL) #endif - execl(Driver, "HUNT", NULL); + execl(Driver, "HUNT", (char *) NULL); #ifdef INTERNET else - execl(Driver, "HUNT", "-p", use_port, NULL); + execl(Driver, "HUNT", "-p", use_port, (char *) NULL); #endif /* only get here if exec failed */ (void) kill(getppid(), SIGUSR1); /* tell mom */ -- cgit v1.2.3-56-ge451