summaryrefslogtreecommitdiff
path: root/navit/vehicle/null/vehicle_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/vehicle/null/vehicle_null.c')
-rw-r--r--navit/vehicle/null/vehicle_null.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/navit/vehicle/null/vehicle_null.c b/navit/vehicle/null/vehicle_null.c
index 79d15bcd2..30e9a4d97 100644
--- a/navit/vehicle/null/vehicle_null.c
+++ b/navit/vehicle/null/vehicle_null.c
@@ -59,7 +59,7 @@ struct vehicle_priv {
static void
vehicle_null_destroy(struct vehicle_priv *priv)
{
- dbg(1,"enter\n");
+ dbg(lvl_warning,"enter\n");
g_free(priv);
}
@@ -75,7 +75,7 @@ static int
vehicle_null_position_attr_get(struct vehicle_priv *priv,
enum attr_type type, struct attr *attr)
{
- dbg(1,"enter %s\n",attr_to_name(type));
+ dbg(lvl_warning,"enter %s\n",attr_to_name(type));
switch (type) {
#if 0
case attr_position_fix_type:
@@ -114,7 +114,7 @@ vehicle_null_position_attr_get(struct vehicle_priv *priv,
default:
return 0;
}
- dbg(1,"ok\n");
+ dbg(lvl_warning,"ok\n");
attr->type = type;
return 1;
}
@@ -162,11 +162,11 @@ vehicle_null_new_null(struct vehicle_methods *meth,
{
struct vehicle_priv *ret;
- dbg(1, "enter\n");
+ dbg(lvl_warning, "enter\n");
ret = g_new0(struct vehicle_priv, 1);
ret->cbl = cbl;
*meth = vehicle_null_methods;
- dbg(1, "return\n");
+ dbg(lvl_warning, "return\n");
return ret;
}
@@ -178,6 +178,6 @@ vehicle_null_new_null(struct vehicle_methods *meth,
void
plugin_init(void)
{
- dbg(1, "enter\n");
+ dbg(lvl_warning, "enter\n");
plugin_register_vehicle_type("null", vehicle_null_new_null);
}