Created attachment 5345[details]
Addition to the proposed patch
Removes the misplaced printf. I decided for removing it completely, as eventlogadm will either use the default, use the given file, or report an error.