[Libguestfs] [PATCH V2 4/4] umount: use Dev_or_Path instead of untype
Wanlong Gao
gaowanlong at cn.fujitsu.com
Mon Jul 23 03:43:23 UTC 2012
Use Dev_or_Path type for device or path arguments.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
generator/generator_actions.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml
index da01d7e..ca9e078 100644
--- a/generator/generator_actions.ml
+++ b/generator/generator_actions.ml
@@ -2749,7 +2749,7 @@ characters does I<not> work, even if the length is specified." };
{ defaults with
name = "umount";
- style = RErr, [String "pathordevice"], [OBool "force"; OBool "laze"];
+ style = RErr, [Dev_or_Path "pathordevice"], [OBool "force"; OBool "laze"];
proc_nr = Some 45;
fish_alias = ["unmount"];
once_had_no_optargs = true;
--
1.7.11.3.287.ge771946
More information about the Libguestfs
mailing list