corosync-keygen: Replace printf/exit call with err
Calling of err makes code shorter, easier to read and eliminates
problems with forgotten newline characters.
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>