atomsRepositoryAdd: fix unmatching msprintf() args 74/21574/1
Samuel GOUGEON [Tue, 11 Aug 2020 13:24:55 +0000 (15:24 +0200)]
Change-Id: I1efbc0a7e2f4880119313496512c064c62b4c953

scilab/modules/atoms/macros/atomsRepositoryAdd.sci

index 5a35152..e707303 100644 (file)
@@ -111,7 +111,7 @@ function nbAdd = atomsRepositoryAdd(url,section)
 
         // Check if we have the write access
         if (section=="allusers") & ~ATOMSALLUSERSWRITEACCESS then
-            error(msprintf(gettext("%s: You haven''t write access on this directory : %s.\n"),"atomsRepositoryAdd",2,pathconvert(SCI+"/.atoms")));
+            error(msprintf(gettext("%s: You haven''t write access on this directory : %s.\n"), "atomsRepositoryAdd", pathconvert(SCI+"/.atoms")));
         end
 
     end