From: Richard Jones Date: Sun, 22 Nov 2009 19:14:19 +0000 (+0000) Subject: generator: second parameter to upload is Dev_or_Path, not String. X-Git-Tag: 1.0.80~65 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=e496f30dc5fbfd2452f192b1f2c8dcfa075a55ed;ds=sidebyside generator: second parameter to upload is Dev_or_Path, not String. --- diff --git a/src/generator.ml b/src/generator.ml index 89c1925..1c533fa 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -1861,7 +1861,7 @@ Reread the partition table on C. This uses the L command."); - ("upload", (RErr, [FileIn "filename"; String "remotefilename"]), 66, [], + ("upload", (RErr, [FileIn "filename"; Dev_or_Path "remotefilename"]), 66, [], [InitBasicFS, Always, TestOutput ( (* Pick a file from cwd which isn't likely to change. *) [["upload"; "../COPYING.LIB"; "/COPYING.LIB"];