diff --git a/coreutils/length.c b/coreutils/length.c index 55fef131b..6413be007 100644 --- a/coreutils/length.c +++ b/coreutils/length.c @@ -13,7 +13,7 @@ int length_main(int argc, char **argv) bb_show_usage(); } - bb_printf("%lu\n", (unsigned long)strlen(*argv)); + printf("%lu\n", (unsigned long)strlen(*argv)); - bb_fflush_stdout_and_exit(EXIT_SUCCESS); + fflush_stdout_and_exit(EXIT_SUCCESS); } diff --git a/libbb/Kbuild b/libbb/Kbuild index 87c09bdfd..0dd8c2be4 100644 --- a/libbb/Kbuild +++ b/libbb/Kbuild @@ -9,7 +9,7 @@ lib-y:= \ compare_string_array.o concat_path_file.o copy_file.o copyfd.o \ crc32.o create_icmp_socket.o create_icmp6_socket.o \ device_open.o dump.o error_msg.o error_msg_and_die.o \ - find_pid_by_name.o find_root_device.o xmalloc_fgets_str.o \ + find_pid_by_name.o find_root_device.o fgets_str.o \ full_write.o get_last_path_component.o get_line_from_file.o \ herror_msg.o herror_msg_and_die.o \ human_readable.o inet_common.o inode_hash.o isdirectory.o \