diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-26 23:21:47 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-26 23:21:47 +0000 |
commit | 6dc3a21627db11fa0f374afe29a6bbf4f89c8b64 (patch) | |
tree | 79166b700c497fbe798b6031e5bbff97e0933573 /libbb/xfuncs.c | |
parent | 076d919b597733c0adf653d0ad10073be4adec7f (diff) | |
download | busybox-w32-6dc3a21627db11fa0f374afe29a6bbf4f89c8b64.tar.gz busybox-w32-6dc3a21627db11fa0f374afe29a6bbf4f89c8b64.tar.bz2 busybox-w32-6dc3a21627db11fa0f374afe29a6bbf4f89c8b64.zip |
remove bb_printf and the like
git-svn-id: svn://busybox.net/trunk/busybox@16446 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r-- | libbb/xfuncs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 0a6d90de5..c5e18c312 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c | |||
@@ -130,7 +130,7 @@ off_t xlseek(int fd, off_t offset, int whence) | |||
130 | } | 130 | } |
131 | 131 | ||
132 | // Die with supplied error message if this FILE * has ferror set. | 132 | // Die with supplied error message if this FILE * has ferror set. |
133 | void xferror(FILE *fp, const char *fn) | 133 | void die_if_ferror(FILE *fp, const char *fn) |
134 | { | 134 | { |
135 | if (ferror(fp)) { | 135 | if (ferror(fp)) { |
136 | bb_error_msg_and_die("%s", fn); | 136 | bb_error_msg_and_die("%s", fn); |
@@ -138,9 +138,9 @@ void xferror(FILE *fp, const char *fn) | |||
138 | } | 138 | } |
139 | 139 | ||
140 | // Die with an error message if stdout has ferror set. | 140 | // Die with an error message if stdout has ferror set. |
141 | void xferror_stdout(void) | 141 | void die_if_ferror_stdout(void) |
142 | { | 142 | { |
143 | xferror(stdout, bb_msg_standard_output); | 143 | die_if_ferror(stdout, bb_msg_standard_output); |
144 | } | 144 | } |
145 | 145 | ||
146 | // Die with an error message if we have trouble flushing stdout. | 146 | // Die with an error message if we have trouble flushing stdout. |