diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/platform.c | 6 |
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; |