The ps (buffptr) argument passed to w_getpsent was NULL.
Correct the ps (buffptr) argument. The value should be the address of a buffer where the output data is to be returned.
JrEdcXfrmEinval49