We don't need to pin down why the code isn't working.  It's wrong to
reference an arg that hasn't been passed[1].  How it fails is not important.

Moving the needlock arg earlier just paints over this one symptom.  It does
not fix the problem.

I expect the best solution here is to switch to varargs.  Another possible
solution would be to use an argument vector, but that means changing the
function prototype.

[1] K&R sec 4.3.  "It is generally safe to deal with a variable number of
arguments if the called function doesn't use an argument which was not
actually supplied."
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to