-/* 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.
#include <unistd.h>
#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)
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;
}