}
if (ferror (stdin))
- error_msg("Read error\n");
+ error_msg("Read error");
if (trans_ptr == uu_std) {
putchar (ENC ('\0'));
break;
default:
- usage(uuencode_usage);
+ show_usage();
}
}
case 0:
default:
- usage(uuencode_usage);
+ show_usage();
}
printf("begin%s %o %s\n", trans_ptr == uu_std ? "" : "-base64",
encode();
printf(trans_ptr == uu_std ? "end\n" : "====\n");
if (ferror (stdout)) {
- error_msg("Write error\n");
+ error_msg("Write error");
return EXIT_FAILURE;
}
return EXIT_SUCCESS;