Fix warning; make output more useful

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3937 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2008-08-12 17:19:23 +00:00
parent 5c6ea2dd61
commit a9285874f1

View file

@ -458,8 +458,8 @@ validate_one_property (gpointer key, gpointer value, gpointer user_data)
g_set_error (error,
NM_VPN_PLUGIN_ERROR,
NM_VPN_PLUGIN_ERROR_BAD_ARGUMENTS,
"unhandled property '%s' type %d",
(const char *) key, prop.type);
"unhandled property '%s' type %s",
(const char *) key, g_type_name (prop.type));
break;
}
}