Fix usage of changed function prototype
[oota-llvm.git] / tools / llvm-dis / llvm-dis.cpp
index 37d5c84f7514236ae2441ecc8c986ef2a59fd361..78d10ee531b36911f16e00e4dfdbcd21a4886b28 100644 (file)
@@ -95,7 +95,7 @@ int main(int argc, char **argv) {
 
         // Make sure that the Out file gets unlinked from the disk if we get a
         // SIGINT
-        sys::RemoveFileOnSignal(OutputFilename);
+        sys::RemoveFileOnSignal(sys::Path(OutputFilename));
       }
     }
   }