Cleanups: use perror_msg() and make mode a global.
1 file changed