From e4a1f12e7e44b2b62ece74c9ea36354fa944acf9 Mon Sep 17 00:00:00 2001 From: plunky Date: Wed, 31 Aug 2011 16:24:54 +0000 Subject: NULL does not need a cast --- 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 5c7e19fc..30bdb55a 100644 --- a/hunt/hunt/hunt.c +++ b/hunt/hunt/hunt.c @@ -1,4 +1,4 @@ -/* $NetBSD: hunt.c,v 1.39 2011/05/23 22:56:11 joerg Exp $ */ +/* $NetBSD: hunt.c,v 1.40 2011/08/31 16:24:56 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.39 2011/05/23 22:56:11 joerg Exp $"); +__RCSID("$NetBSD: hunt.c,v 1.40 2011/08/31 16:24:56 plunky Exp $"); #endif /* not lint */ #include @@ -624,10 +624,10 @@ start_driver(void) #else if (use_port == NULL) #endif - execl(Driver, "HUNT", (char *) NULL); + execl(Driver, "HUNT", NULL); #ifdef INTERNET else - execl(Driver, "HUNT", "-p", use_port, (char *) NULL); + execl(Driver, "HUNT", "-p", use_port, NULL); #endif /* only get here if exec failed */ (void) kill(getppid(), SIGUSR1); /* tell mom */ -- cgit v1.2.3-56-ge451