Fix warning; make output more useful

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

View file

@ -111,8 +111,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;
}
}