bsdacct: fix and add comments around acct_process()