diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2011-06-01 18:40:23 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2011-06-01 18:43:00 -0400 |
commit | 16bd63704f341720f4d5a8264f987e0124d942d0 (patch) | |
tree | c3028c040359a8ae325007b6f212556d6fa3900a /src/xenfb_monitor.c | |
parent | 4960035d9cec1eff71242a4ffd4b761140adf989 (diff) |
Log to files in /var/log/xen and add compile-time loglevel.
Diffstat (limited to 'src/xenfb_monitor.c')
-rw-r--r-- | src/xenfb_monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xenfb_monitor.c b/src/xenfb_monitor.c index c1a33fa..3a163f1 100644 --- a/src/xenfb_monitor.c +++ b/src/xenfb_monitor.c @@ -100,7 +100,7 @@ static int fb_initialise(struct XenDevice *xendev) if (update) xenstore_write_be_int(xendev, "request-update", 1); - xen_be_printf(xendev, 1, "feature-update=%d, videoram=%d\n", + XEN_BE_LOG(xendev, 1, "feature-update=%d, videoram=%d\n", update, videoram); return 0; } @@ -117,7 +117,7 @@ static void fb_frontend_changed(struct XenDevice *xendev, const char *node) if (fb->bug_trigger == 0 && strcmp(node, "state") == 0 && xendev->fe_state == XenbusStateConnected && xendev->be_state == XenbusStateConnected) { - xen_be_printf(xendev, 2, "re-trigger connected (frontend bug)\n"); + XEN_BE_LOG(xendev, 2, "re-trigger connected (frontend bug)\n"); xen_be_set_state(xendev, XenbusStateConnected); fb->bug_trigger = 1; /* only once */ } |