summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko2011-04-17 23:14:19 +0200
committerDenys Vlasenko2011-04-17 23:14:19 +0200
commit47061b4e9b5b7e5d1f27eb7fb83f6721c94b0986 (patch)
tree589315ac63e416193baf4d5dbc613a5942512144 /libbb
parent0288b27ad870adc437c370c262b7b41990ae0118 (diff)
downloadbusybox-47061b4e9b5b7e5d1f27eb7fb83f6721c94b0986.zip
busybox-47061b4e9b5b7e5d1f27eb7fb83f6721c94b0986.tar.gz
straighten out dprintf/fdprintf mess; remove old "define lchown chown"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/platform.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/platform.c b/libbb/platform.c
index fe7ce15..04b8961 100644
--- a/libbb/platform.c
+++ b/libbb/platform.c
@@ -42,9 +42,9 @@ int FAST_FUNC vasprintf(char **string_ptr, const char *format, va_list p)
}
#endif
-#ifndef HAVE_FDPRINTF
-/* dprintf is now actually part of POSIX.1, but was only added in 2008 */
-int fdprintf(int fd, const char *format, ...)
+#ifndef HAVE_DPRINTF
+/* dprintf is now part of POSIX.1, but was only added in 2008 */
+int dprintf(int fd, const char *format, ...)
{
va_list p;
int r;