Bug#1497: acct-alpha-5-7 problems
Dirk Eddelbuettel writes:
Dirk> I changed 'accton.c' so that it calls 'exit(errno)'. It appears that
Dirk> the errno is set to '2' in both cases, ie when acct(2) reports
Dirk> 'device or resource busy' (ie accounting is already running) or a
Dirk> 'function not implemented' (ie kernel not patched).
My fault as I called perror() first :) Now all is well, ENOSYS or EBUSY get
reported if accounting is running or not implemented, respectively. My thanks
Ian and Marek!