diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-12-22 01:48:07 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-12-22 01:48:07 +0000 |
commit | 2230e04b24d58710b30d25f032c1996a143ba261 (patch) | |
tree | b8cb8d939032c0806d62161b01e5836cb808dc3f /sed.c | |
parent | 3c7e7e11b41d4a421bcf42fd1bf72a537e051d4a (diff) | |
download | busybox-w32-2230e04b24d58710b30d25f032c1996a143ba261.tar.gz busybox-w32-2230e04b24d58710b30d25f032c1996a143ba261.tar.bz2 busybox-w32-2230e04b24d58710b30d25f032c1996a143ba261.zip |
Use busybox error handling functions wherever possible.
git-svn-id: svn://busybox.net/trunk/busybox@1489 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 */ |