generator: second parameter to upload is Dev_or_Path, not String.
authorRichard Jones <rjones@redhat.com>
Sun, 22 Nov 2009 19:14:19 +0000 (19:14 +0000)
committerRichard Jones <rjones@redhat.com>
Sun, 22 Nov 2009 19:14:19 +0000 (19:14 +0000)
src/generator.ml

index 89c1925..1c533fa 100755 (executable)
@@ -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"];