From c8227639db90c3147ef68f33c98e96b0ab6b01d6 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Mon, 12 Nov 2001 16:57:27 +0000 Subject: Change strdup calls to xstrdup (patch from Steve Merrifield). --- archival/gunzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archival/gunzip.c') diff --git a/archival/gunzip.c b/archival/gunzip.c index 430bc630e..388672541 100644 --- a/archival/gunzip.c +++ b/archival/gunzip.c @@ -114,7 +114,7 @@ extern int gunzip_main(int argc, char **argv) if (argv[optind] == NULL || strcmp(argv[optind], "-") == 0) { flags |= gunzip_to_stdout; } else { - if_name = strdup(argv[optind]); + if_name = xstrdup(argv[optind]); /* Open input file */ in_file = xfopen(if_name, "r"); -- cgit v1.2.3