pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/38476?usp=email )
Change subject: core/tun.c: Fix wrong documentation ret type in tundev_open_fd() ......................................................................
core/tun.c: Fix wrong documentation ret type in tundev_open_fd()
Change-Id: I208821cf216c2a700caf6517a885cf44fc6958e1 --- M src/core/tun.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/76/38476/1
diff --git a/src/core/tun.c b/src/core/tun.c index 8612819..4fad8be 100644 --- a/src/core/tun.c +++ b/src/core/tun.c @@ -268,7 +268,7 @@ /*! Open and configure fd of the tunnel device. * \param[in] tundev The tundev object whose tunnel interface to open * \param[in] flags internal linux flags to pass when creating the device (not used yet) - * \returns 0 on success; negative on error + * \returns tun fd on success; negative on error */ static int tundev_open_fd(struct osmo_tundev *tundev, int flags) {