From: Jan Wielemaker Date: Mon, 17 Oct 2022 09:36:54 +0000 (+0200) Subject: Use list notation for format/2 X-Git-Tag: V8.5.18-sweep-0.7.0~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a7c2ceaf980b9e591a9aad86dff227c7f01df9af;p=sweep.git Use list notation for format/2 --- diff --git a/sweep_link.pl b/sweep_link.pl index 6b97789..3c3d679 100644 --- a/sweep_link.pl +++ b/sweep_link.pl @@ -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]).