diff options
author | Matt Kraai | 2001-11-12 16:57:27 +0000 |
---|---|---|
committer | Matt Kraai | 2001-11-12 16:57:27 +0000 |
commit | c8227639db90c3147ef68f33c98e96b0ab6b01d6 (patch) | |
tree | b704ef3f684a41c7705b5e36dac2127d23d129c4 /archival/bunzip2.c | |
parent | 357cfc739ed5f5c00ee46a43820a1d02367e3b38 (diff) | |
download | busybox-c8227639db90c3147ef68f33c98e96b0ab6b01d6.zip busybox-c8227639db90c3147ef68f33c98e96b0ab6b01d6.tar.gz |
Change strdup calls to xstrdup (patch from Steve Merrifield).
Diffstat (limited to 'archival/bunzip2.c')
-rw-r--r-- | archival/bunzip2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/bunzip2.c b/archival/bunzip2.c index 757654d..da9808e 100644 --- a/archival/bunzip2.c +++ b/archival/bunzip2.c @@ -2324,7 +2324,7 @@ int bunzip2_main(int argc, char **argv) show_usage(); } src_stream = xfopen(argv[1], "r"); - save_name = strdup(argv[1]); + save_name = xstrdup(argv[1]); save_name_ptr = strrchr(save_name, '.'); if (save_name_ptr == NULL) { return(FALSE); |