]> git.eshelyaron.com Git - dict.git/commitdiff
Use list notation for format/2
authorJan Wielemaker <J.Wielemaker@vu.nl>
Mon, 17 Oct 2022 09:36:54 +0000 (11:36 +0200)
committerJan Wielemaker <J.Wielemaker@vu.nl>
Mon, 17 Oct 2022 09:36:54 +0000 (11:36 +0200)
sweep_link.pl

index 6b97789336bb819aa37ebe7b41324e9402624adf..3c3d6791d5b108d498042db9ad879eabd48e7947 100644 (file)
@@ -41,13 +41,13 @@ sweep_link_version(1).
 
 write_sweep_module_location :-
     sweep_link_version(V),
-    format('V ~w~n', V),
+    format('V ~w~n', [V]),
     absolute_file_name(foreign('sweep-module'),
                        Path,
                        [file_type(executable), access(read)]),
     (   current_prolog_flag(executable_format, elf)
     ->  current_prolog_flag(libswipl, Libpath),
-        format('L ~w~n', Libpath)
+        format('L ~w~n', [Libpath])
     ;   true
     ),
-    format('M ~w~n', Path).
+    format('M ~w~n', [Path]).