Skip to content

Commit

Permalink
metadata: return the error code if kdbus_meta_export_prepare() fails
Browse files Browse the repository at this point in the history
Return the appropriate error code if we fail inside
kdbus_meta_export_prepare().

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
  • Loading branch information
tixxdz committed Feb 23, 2015
1 parent 70646ed commit fb4f5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata.c
Expand Up @@ -910,7 +910,7 @@ int kdbus_meta_export_prepare(struct kdbus_meta_proc *mp,
exit:
*sz = size;

return 0;
return ret;
}

static int kdbus_meta_push_kvec(struct kvec *kvec,
Expand Down

0 comments on commit fb4f5ec

Please sign in to comment.