d71ca2d66e
_strrchr takes an int (due to promotion) as its third arg. don't print the null byte at the end of string. error messages should end with a linefeed.