From c86ef1b2547856c114bdc16ed374585ea0a570e9 Mon Sep 17 00:00:00 2001 From: kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> Date: Mon, 18 Dec 2000 03:57:16 +0000 Subject: Change calls to error_msg.* and strerror to use perror_msg.*. git-svn-id: svn://busybox.net/trunk/busybox@1466 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- sed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sed.c') diff --git a/sed.c b/sed.c index 812f62145..a7152e52a 100644 --- a/sed.c +++ b/sed.c @@ -757,7 +757,7 @@ extern int sed_main(int argc, char **argv) for (i = optind; i < argc; i++) { file = fopen(argv[i], "r"); if (file == NULL) { - error_msg("%s: %s\n", argv[i], strerror(errno)); + perror_msg("%s", argv[i]); } else { process_file(file); fclose(file); -- cgit v1.2.3-55-g6feb