From 06f20bf675cdd415c2f796ebea9fc55030ef49cc Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 26 Jan 2017 00:27:53 +0100 Subject: link: new applet coreutils grew itself a tiny simplistic alternative to ln: Usage: link FILE LINK Create hard LINK to FILE function old new delta link_main - 75 +75 packed_usage 31114 31131 +17 applet_names 2564 2569 +5 applet_main 1480 1484 +4 applet_install_loc 185 186 +1 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/0 up/down: 102/0) Total: 102 bytes Signed-off-by: Denys Vlasenko --- archival/libarchive/data_extract_all.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'archival/libarchive/data_extract_all.c') diff --git a/archival/libarchive/data_extract_all.c b/archival/libarchive/data_extract_all.c index bd034afdc..1830ffb8d 100644 --- a/archival/libarchive/data_extract_all.c +++ b/archival/libarchive/data_extract_all.c @@ -127,8 +127,9 @@ void FAST_FUNC data_extract_all(archive_handle_t *archive_handle) if (hard_link) { res = link(hard_link, dst_name); if (res != 0 && !(archive_handle->ah_flags & ARCHIVE_EXTRACT_QUIET)) { + /* shared message */ bb_perror_msg("can't create %slink " - "from %s to %s", "hard", + "%s to %s", "hard", dst_name, hard_link); } @@ -181,8 +182,9 @@ void FAST_FUNC data_extract_all(archive_handle_t *archive_handle) if (res != 0 && !(archive_handle->ah_flags & ARCHIVE_EXTRACT_QUIET) ) { + /* shared message */ bb_perror_msg("can't create %slink " - "from %s to %s", "sym", + "%s to %s", "sym", dst_name, file_header->link_target); } -- cgit v1.2.3