about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/Modules/zselect.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 49356ab94..9efdd8d11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,9 @@
 
 2004-03-03  Peter Stephenson  <pws@csr.com>
 
+	* 19528: Src/Modules/zselect.c: missing argument when neither
+	select nor poll was available.
+
 	* unposted: Config/version.mk: zsh 4.2.0-pre-2.
 
 	* 19523: Src/signames2.awk: attempt to work around awk
diff --git a/Src/Modules/zselect.c b/Src/Modules/zselect.c
index 91c4ee78f..1e6753263 100644
--- a/Src/Modules/zselect.c
+++ b/Src/Modules/zselect.c
@@ -265,7 +265,7 @@ bin_zselect(char *nam, char **args, Options ops, int func)
 #else
     /* TODO: use poll */
     zerrnam(nam, "your system does not implement the select system call.",
-	    NULL, );
+	    NULL, 0);
     return 2;
 #endif
 }