Skip to content

Commit

Permalink
confile_utils: cleanup lxc_veth_mode_to_flag()
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Dec 10, 2020
1 parent ecf953c commit 9e75cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/confile_utils.c
Expand Up @@ -505,7 +505,7 @@ int lxc_veth_mode_to_flag(int *mode, const char *value)
return 0;
}

return ret_set_errno(-1, EINVAL);
return ret_errno(EINVAL);
}

char *lxc_veth_flag_to_mode(int mode)
Expand Down

0 comments on commit 9e75cf7

Please sign in to comment.