master - cleanup: type cleanup
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=1c212371fa6e65c783d7df50eab0108acb7b0cf8 Commit: 1c212371fa6e65c783d7df50eab0108acb7b0cf8 Parent: 7c921f18e236055b2d6b20794be076124489d6ac Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Jun 24 00:35:03 2016 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Jun 24 00:39:14 2016 +0200
cleanup: type cleanup
Fix return code 1.
Since we always check for !() - this fix has no other effect.
--- tools/toollib.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
tools/toollib.c +1 -1
@@ -1655,7 +1655,7 @@ int validate_restricted_lvname_param(struct cmd_context *cmd, const char **vg_naif (lv_name && *lv_name && !apply_lvname_restrictions (*lv_name)) return_0; -return -1 ; +return 1 ; }/*