From 5b754b8b1f7b873145a8944191171b6f472fbd4b Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 26 Dec 2010 18:48:11 +0000 Subject: Add LOG() to warn_user() and die(). Full implementation still needed. svn path=/trunk/netsurf/; revision=11121 --- framebuffer/misc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'framebuffer/misc.c') diff --git a/framebuffer/misc.c b/framebuffer/misc.c index ac15c5293..035e6b4a9 100644 --- a/framebuffer/misc.c +++ b/framebuffer/misc.c @@ -22,16 +22,19 @@ #include #include "desktop/cookies.h" +#include "utils/log.h" #include "utils/messages.h" #include "utils/utils.h" #include "utils/url.h" void warn_user(const char *warning, const char *detail) { + LOG(("%s %s", warning, detail)); } void die(const char *error) { + LOG(("%s", error)); exit(1); } -- cgit v1.2.3