aboutsummaryrefslogtreecommitdiff
path: root/deps/sysobj_early/src/appf.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/sysobj_early/src/appf.c')
-rw-r--r--deps/sysobj_early/src/appf.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/deps/sysobj_early/src/appf.c b/deps/sysobj_early/src/appf.c
index 432e0f30..5969d945 100644
--- a/deps/sysobj_early/src/appf.c
+++ b/deps/sysobj_early/src/appf.c
@@ -18,12 +18,18 @@
*
*/
-#include "appf.h"
#define _GNU_SOURCE /* for vasprintf() */
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
+#include "appf.h"
+
+/* FIXME: if this isn't here, hardinfo will crash,
+ * I don't have the slightest idea why */
+void wtf() {
+ edid_fill(NULL, NULL, 0);
+}
char *appf(char *str, const char *sep, const char *fmt, ...) {
char *buf = NULL;