summaryrefslogtreecommitdiff
path: root/usr.bin/window/wwterminfo.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-09 07:05:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-09 07:05:10 +0000
commite794dc8249450a31cf35cb2aa88a33779325b689 (patch)
tree7fe943aa48c43bd24ed6b9267ab44c0191c44d4a /usr.bin/window/wwterminfo.c
parent5b1ba3114a10793470c731e714160f24131b690d (diff)
correct type on last arg to execl(); nordin@cse.ogi.edu
Diffstat (limited to 'usr.bin/window/wwterminfo.c')
-rw-r--r--usr.bin/window/wwterminfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/window/wwterminfo.c b/usr.bin/window/wwterminfo.c
index 556d7811948..064dc2b4687 100644
--- a/usr.bin/window/wwterminfo.c
+++ b/usr.bin/window/wwterminfo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wwterminfo.c,v 1.8 1999/11/14 17:34:24 millert Exp $ */
+/* $OpenBSD: wwterminfo.c,v 1.9 2001/07/09 07:04:58 deraadt Exp $ */
/*
* Copyright (c) 1982, 1993
@@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)wwterminfo.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: wwterminfo.c,v 1.8 1999/11/14 17:34:24 millert Exp $";
+static char rcsid[] = "$OpenBSD: wwterminfo.c,v 1.9 2001/07/09 07:04:58 deraadt Exp $";
#endif
#endif /* not lint */
@@ -102,7 +102,7 @@ wwterminfoend()
/* can't really do (or say) anything about errors */
return -1;
case 0:
- execl(_PATH_RM, _PATH_RM, "-rf", wwterminfopath, 0);
+ execl(_PATH_RM, _PATH_RM, "-rf", wwterminfopath, (char *)NULL);
_exit(0);
default:
wait(NULL);