summaryrefslogtreecommitdiff
path: root/usr.bin/vi/ex/ex_script.c
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2002-06-12 06:07:18 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2002-06-12 06:07:18 +0000
commit2c5359ee4336522c89649a8e017da3fdf87fa8bd (patch)
tree60aa07e4178dd0840349fe830f118d2cb64a1c6c /usr.bin/vi/ex/ex_script.c
parentc22dc40df755f025740d14e001bb8599cf4a72c5 (diff)
a real pid_t cleanup.
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
Diffstat (limited to 'usr.bin/vi/ex/ex_script.c')
-rw-r--r--usr.bin/vi/ex/ex_script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/ex/ex_script.c b/usr.bin/vi/ex/ex_script.c
index c7f1f887e76..6d8a11813f7 100644
--- a/usr.bin/vi/ex/ex_script.c
+++ b/usr.bin/vi/ex/ex_script.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ex_script.c,v 1.8 2002/02/16 21:27:57 millert Exp $ */
+/* $OpenBSD: ex_script.c,v 1.9 2002/06/12 06:07:17 mpech Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
@@ -599,7 +599,7 @@ sscr_end(sp)
(void)close(sc->sh_slave);
/* This should have killed the child. */
- (void)proc_wait(sp, (long)sc->sh_pid, "script-shell", 0, 0);
+ (void)proc_wait(sp, sc->sh_pid, "script-shell", 0, 0);
/* Free memory. */
free(sc->sh_prompt);