summaryrefslogtreecommitdiff
path: root/src/sys-assert/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys-assert/util.h')
-rw-r--r--src/sys-assert/util.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sys-assert/util.h b/src/sys-assert/util.h
index a06077e..ff7f7f3 100644
--- a/src/sys-assert/util.h
+++ b/src/sys-assert/util.h
@@ -21,8 +21,7 @@ int open_read(const char *path, char *buf, int size);
char *fgets_fd(char *str, int len, int fd);
-/* WARNING : formatted string buffer is limited to 1024 byte */
-int fprintf_fd(int fd, const char *fmt, ...);
+#define fprintf_fd(fd, fmt, ...) dprintf(fd, fmt, ##__VA_ARGS__)
char *remove_path(const char *cmd);