Don't forget to pass program_name
authorRobert Pengelly <robertapengelly@hotmail.com>
Tue, 25 Mar 2025 15:54:14 +0000 (15:54 +0000)
committerRobert Pengelly <robertapengelly@hotmail.com>
Tue, 25 Mar 2025 15:54:14 +0000 (15:54 +0000)
variable.c

index 7545c967bd53e90cbf9028b1018e8f5a1c21f4b6..2e69435410a8b213bfc834644a3910dc7c71af08 100644 (file)
@@ -834,7 +834,7 @@ void parse_var_line (const char *filename, unsigned long line_no, char *line, en
     
 #if     defined (__PDOS__) || defined (__MSDOS__)
 
-        fprintf (stderr, "%s: 'MACRO != value' isn't supported due to OS limitations. Stop.\n");
+        fprintf (stderr, "%s: 'MACRO != value' isn't supported due to OS limitations. Stop.\n", program_name);
         exit (EXIT_FAILURE);
 
 #else