diff options
author | Eric Andersen <andersen@codepoet.org> | 2005-04-16 07:42:35 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2005-04-16 07:42:35 +0000 |
commit | 3cd198619570dd643ebe748302ae5551fd16fdaa (patch) | |
tree | 274a5ccd81cbbc251716dfc8a70c997bde04b171 | |
parent | 5ba5f4d2e72791fef3065a2221a3d386e0d17982 (diff) | |
download | busybox-w32-3cd198619570dd643ebe748302ae5551fd16fdaa.tar.gz busybox-w32-3cd198619570dd643ebe748302ae5551fd16fdaa.tar.bz2 busybox-w32-3cd198619570dd643ebe748302ae5551fd16fdaa.zip |
Add bb_msg_read_error
-rw-r--r-- | include/libbb.h | 1 | ||||
-rw-r--r-- | libbb/Makefile.in | 2 | ||||
-rw-r--r-- | libbb/messages.c | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 0119aabe4..9daa1cf92 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -324,6 +324,7 @@ extern const char * const bb_msg_full_version; | |||
324 | extern const char * const bb_msg_memory_exhausted; | 324 | extern const char * const bb_msg_memory_exhausted; |
325 | extern const char * const bb_msg_invalid_date; | 325 | extern const char * const bb_msg_invalid_date; |
326 | extern const char * const bb_msg_io_error; | 326 | extern const char * const bb_msg_io_error; |
327 | extern const char * const bb_msg_read_error; | ||
327 | extern const char * const bb_msg_write_error; | 328 | extern const char * const bb_msg_write_error; |
328 | extern const char * const bb_msg_name_longer_than_foo; | 329 | extern const char * const bb_msg_name_longer_than_foo; |
329 | extern const char * const bb_msg_unknown; | 330 | extern const char * const bb_msg_unknown; |
diff --git a/libbb/Makefile.in b/libbb/Makefile.in index 85d4a967b..d4c5ec14a 100644 --- a/libbb/Makefile.in +++ b/libbb/Makefile.in | |||
@@ -53,7 +53,7 @@ LIBBB_OBJS=$(patsubst %.c,$(LIBBB_DIR)%.o, $(LIBBB_SRC)) | |||
53 | LIBBB_MSRC0:=$(srcdir)/messages.c | 53 | LIBBB_MSRC0:=$(srcdir)/messages.c |
54 | LIBBB_MOBJ0:=full_version.o \ | 54 | LIBBB_MOBJ0:=full_version.o \ |
55 | memory_exhausted.o invalid_date.o io_error.o \ | 55 | memory_exhausted.o invalid_date.o io_error.o \ |
56 | write_error.o name_longer_than_foo.o unknown.o \ | 56 | read_error.o write_error.o name_longer_than_foo.o unknown.o \ |
57 | can_not_create_raw_socket.o perm_denied_are_you_root.o \ | 57 | can_not_create_raw_socket.o perm_denied_are_you_root.o \ |
58 | shadow_file.o passwd_file.o group_file.o gshadow_file.o nologin_file.o \ | 58 | shadow_file.o passwd_file.o group_file.o gshadow_file.o nologin_file.o \ |
59 | securetty_file.o motd_file.o \ | 59 | securetty_file.o motd_file.o \ |
diff --git a/libbb/messages.c b/libbb/messages.c index 671c452d2..c3f307ec5 100644 --- a/libbb/messages.c +++ b/libbb/messages.c | |||
@@ -36,6 +36,9 @@ | |||
36 | #ifdef L_write_error | 36 | #ifdef L_write_error |
37 | const char * const bb_msg_write_error = "Write Error"; | 37 | const char * const bb_msg_write_error = "Write Error"; |
38 | #endif | 38 | #endif |
39 | #ifdef L_read_error | ||
40 | const char * const bb_msg_read_error = "Read Error"; | ||
41 | #endif | ||
39 | #ifdef L_name_longer_than_foo | 42 | #ifdef L_name_longer_than_foo |
40 | const char * const bb_msg_name_longer_than_foo = "Names longer than %d chars not supported."; | 43 | const char * const bb_msg_name_longer_than_foo = "Names longer than %d chars not supported."; |
41 | #endif | 44 | #endif |