From a7c2ceaf980b9e591a9aad86dff227c7f01df9af Mon Sep 17 00:00:00 2001 From: Jan Wielemaker Date: Mon, 17 Oct 2022 11:36:54 +0200 Subject: [PATCH] Use list notation for format/2 --- sweep_link.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]). -- 2.39.2