Hi,
It's a small mistake of function call in line 202 of file serial.c,
in the function "ttylock". The parameters are in wrong place while
calling function "sscanf", it should be:
sscanf(buf, "%d", &pid),
not:
sscanf("%d", buf, &pid).
In the wrong case, sscanf always return failed.
Yours, Cliff
It's a small mistake of function call in line 202 of file serial.c,
in the function "ttylock". The parameters are in wrong place while
calling function "sscanf", it should be:
sscanf(buf, "%d", &pid),
not:
sscanf("%d", buf, &pid).
In the wrong case, sscanf always return failed.
Yours, Cliff