summary refs log tree commit diff
path: root/Src/Modules/zselect.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-03-03 15:34:29 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-03-03 15:34:29 +0000
commit3c04f95a333abf98379ca2ef30a29fe50c37ad7a (patch)
treeeb0128de7d010e4755a95ab5e96b82777becd873 /Src/Modules/zselect.c
parent0b787b5da25615fff4f41a1101a42f1ab142dcd4 (diff)
downloadzsh-3c04f95a333abf98379ca2ef30a29fe50c37ad7a.tar.gz
zsh-3c04f95a333abf98379ca2ef30a29fe50c37ad7a.tar.xz
zsh-3c04f95a333abf98379ca2ef30a29fe50c37ad7a.zip
19528: fix error if neither select nor poll available
Diffstat (limited to 'Src/Modules/zselect.c')
-rw-r--r--Src/Modules/zselect.c2
1 files changed, 1 insertions, 1 deletions
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
 }