diff options
author | Matt Kraai <kraai@debian.org> | 2000-12-22 01:48:07 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-12-22 01:48:07 +0000 |
commit | a9819b290848e0a760f3805d5937fa050235d707 (patch) | |
tree | b8cb8d939032c0806d62161b01e5836cb808dc3f /sed.c | |
parent | e9f07fb6e83b75a50760599a5d31f494841eddf7 (diff) | |
download | busybox-w32-a9819b290848e0a760f3805d5937fa050235d707.tar.gz busybox-w32-a9819b290848e0a760f3805d5937fa050235d707.tar.bz2 busybox-w32-a9819b290848e0a760f3805d5937fa050235d707.zip |
Use busybox error handling functions wherever possible.
Diffstat (limited to 'sed.c')
-rw-r--r-- | sed.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -709,10 +709,8 @@ extern int sed_main(int argc, char **argv) | |||
709 | 709 | ||
710 | #ifdef BB_FEATURE_CLEAN_UP | 710 | #ifdef BB_FEATURE_CLEAN_UP |
711 | /* destroy command strings on exit */ | 711 | /* destroy command strings on exit */ |
712 | if (atexit(destroy_cmd_strs) == -1) { | 712 | if (atexit(destroy_cmd_strs) == -1) |
713 | perror("sed"); | 713 | perror_msg_and_die("atexit"); |
714 | exit(1); | ||
715 | } | ||
716 | #endif | 714 | #endif |
717 | 715 | ||
718 | /* do normal option parsing */ | 716 | /* do normal option parsing */ |