aboutsummaryrefslogtreecommitdiff
path: root/deps/sysobj_early/src/appf.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2019-08-16 22:55:18 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2019-08-18 23:49:29 +0200
commite49e438270cdffc4a80a2676c73ad95bedce33d4 (patch)
tree769017d433a3004202ea6769d4d0fca40f3099d1 /deps/sysobj_early/src/appf.c
parentd55a8f33188eb35e918d5c6c355d686867315337 (diff)
Devices/Monitors
Signed-off-by: Burt P <pburt0@gmail.com>
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;