trivial: platform: add_kernel_object now returns int, not gboolean

This commit is contained in:
Pavel Šimerda
2013-06-19 13:27:53 +02:00
parent 4182deb398
commit ed37ceeb91

View File

@@ -231,7 +231,7 @@ get_kernel_object (struct nl_sock *sock, struct nl_object *needle)
} }
/* libnl 3.2 doesn't seem to provide such a generic way to add libnl-route objects. */ /* libnl 3.2 doesn't seem to provide such a generic way to add libnl-route objects. */
static gboolean static int
add_kernel_object (struct nl_sock *sock, struct nl_object *object) add_kernel_object (struct nl_sock *sock, struct nl_object *object)
{ {
switch (object_type_from_nl_object (object)) { switch (object_type_from_nl_object (object)) {