aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-12-18 03:57:16 +0000
committerMatt Kraai <kraai@debian.org>2000-12-18 03:57:16 +0000
commit1fa1adea2ae16d4f4c82d7466905dce4c6edd5f5 (patch)
treeb85a425c19b299f5d8635599e11c78c96f12a4c2 /editors
parent0dab82997777bffb95d01d68e1628ee79207a03d (diff)
downloadbusybox-w32-1fa1adea2ae16d4f4c82d7466905dce4c6edd5f5.tar.gz
busybox-w32-1fa1adea2ae16d4f4c82d7466905dce4c6edd5f5.tar.bz2
busybox-w32-1fa1adea2ae16d4f4c82d7466905dce4c6edd5f5.zip
Change calls to error_msg.* and strerror to use perror_msg.*.
Diffstat (limited to 'editors')
-rw-r--r--editors/sed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 812f62145..a7152e52a 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -757,7 +757,7 @@ extern int sed_main(int argc, char **argv)
757 for (i = optind; i < argc; i++) { 757 for (i = optind; i < argc; i++) {
758 file = fopen(argv[i], "r"); 758 file = fopen(argv[i], "r");
759 if (file == NULL) { 759 if (file == NULL) {
760 error_msg("%s: %s\n", argv[i], strerror(errno)); 760 perror_msg("%s", argv[i]);
761 } else { 761 } else {
762 process_file(file); 762 process_file(file);
763 fclose(file); 763 fclose(file);