summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorEric Andersen2005-04-16 07:42:35 +0000
committerEric Andersen2005-04-16 07:42:35 +0000
commit3cd198619570dd643ebe748302ae5551fd16fdaa (patch)
tree274a5ccd81cbbc251716dfc8a70c997bde04b171 /libbb
parent5ba5f4d2e72791fef3065a2221a3d386e0d17982 (diff)
downloadbusybox-3cd198619570dd643ebe748302ae5551fd16fdaa.zip
busybox-3cd198619570dd643ebe748302ae5551fd16fdaa.tar.gz
Add bb_msg_read_error
Diffstat (limited to 'libbb')
-rw-r--r--libbb/Makefile.in2
-rw-r--r--libbb/messages.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/libbb/Makefile.in b/libbb/Makefile.in
index 85d4a96..d4c5ec1 100644
--- a/libbb/Makefile.in
+++ b/libbb/Makefile.in
@@ -53,7 +53,7 @@ LIBBB_OBJS=$(patsubst %.c,$(LIBBB_DIR)%.o, $(LIBBB_SRC))
LIBBB_MSRC0:=$(srcdir)/messages.c
LIBBB_MOBJ0:=full_version.o \
memory_exhausted.o invalid_date.o io_error.o \
- write_error.o name_longer_than_foo.o unknown.o \
+ read_error.o write_error.o name_longer_than_foo.o unknown.o \
can_not_create_raw_socket.o perm_denied_are_you_root.o \
shadow_file.o passwd_file.o group_file.o gshadow_file.o nologin_file.o \
securetty_file.o motd_file.o \
diff --git a/libbb/messages.c b/libbb/messages.c
index 671c452..c3f307e 100644
--- a/libbb/messages.c
+++ b/libbb/messages.c
@@ -36,6 +36,9 @@
#ifdef L_write_error
const char * const bb_msg_write_error = "Write Error";
#endif
+#ifdef L_read_error
+ const char * const bb_msg_read_error = "Read Error";
+#endif
#ifdef L_name_longer_than_foo
const char * const bb_msg_name_longer_than_foo = "Names longer than %d chars not supported.";
#endif