diff options
author | Richard Jones <rjones@redhat.com> | 2009-11-22 19:14:19 +0000 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-11-22 19:14:19 +0000 |
commit | e496f30dc5fbfd2452f192b1f2c8dcfa075a55ed (patch) | |
tree | 54f1d86247def4681af92f55644bd628b8cad003 /src | |
parent | a7a88083f0c9d83828dc9154c1c053fcd735d9ba (diff) | |
download | libguestfs-e496f30dc5fbfd2452f192b1f2c8dcfa075a55ed.tar.gz libguestfs-e496f30dc5fbfd2452f192b1f2c8dcfa075a55ed.tar.xz libguestfs-e496f30dc5fbfd2452f192b1f2c8dcfa075a55ed.zip |
generator: second parameter to upload is Dev_or_Path, not String.
Diffstat (limited to 'src')
-rwxr-xr-x | src/generator.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generator.ml b/src/generator.ml index 89c1925a..1c533fae 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -1861,7 +1861,7 @@ Reread the partition table on C<device>. This uses the L<blockdev(8)> 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"]; |