X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vswitchd%2Fxenserver.c;h=1f26e0d17e0900a2de1fd0d230e20de11f443151;hb=85606e05b691be7c2f2d4bcf0e91170b71ec8fbb;hp=03c4955529fcc1197401f33e2533411ce2d40203;hpb=a14bc59fb8f27db193d74662dc9c5cb8237177ef;p=sliver-openvswitch.git diff --git a/vswitchd/xenserver.c b/vswitchd/xenserver.c index 03c495552..1f26e0d17 100644 --- a/vswitchd/xenserver.c +++ b/vswitchd/xenserver.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2009 Nicira Networks +/* Copyright (c) 2009, 2010, 2013 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,9 +22,9 @@ #include #include "dynamic-string.h" #include "process.h" - #include "vlog.h" -#define THIS_MODULE VLM_xenserver + +VLOG_DEFINE_THIS_MODULE(xenserver); static char * read_host_uuid(void) @@ -36,9 +36,9 @@ read_host_uuid(void) file = fopen(filename, "r"); if (!file) { if (errno == ENOENT) { - VLOG_INFO("not running on a XenServer"); + VLOG_DBG("not running on a XenServer"); } else { - VLOG_INFO("%s: open: %s", filename, strerror(errno)); + VLOG_INFO("%s: open: %s", filename, ovs_strerror(errno)); } return NULL; }