use nil instead of 0

This commit is contained in:
rsc 2005-03-18 19:34:00 +00:00
parent 5544aaf99b
commit 8c0613150e

View file

@ -158,7 +158,7 @@ fsysproc(void *v)
error("convert error in convM2S"); error("convert error in convM2S");
if(DEBUG) if(DEBUG)
fprint(2, "%F\n", &x->fcall); fprint(2, "%F\n", &x->fcall);
if(fcall[x->fcall.type] == 0) if(fcall[x->fcall.type] == nil)
x = respond(x, &t, "bad fcall type"); x = respond(x, &t, "bad fcall type");
else{ else{
switch(x->fcall.type){ switch(x->fcall.type){