entered into RCS
authorroland <roland>
Sun, 22 May 1994 01:54:16 +0000 (01:54 +0000)
committerroland <roland>
Sun, 22 May 1994 01:54:16 +0000 (01:54 +0000)
assert/assert.c

index 0490fad..c345633 100644 (file)
@@ -41,10 +41,10 @@ DEFUN(__assert_fail, (assertion, file, line, function),
 #endif
 
   /* Print the message.  */
-  (void) fprintf (stderr, "%s:%u: %s%s%s%sAssertion `%s' failed.\n",
-                 file, line,
+  (void) fprintf (stderr, "%s%s%s:%u: %s%sAssertion `%s' failed.\n",
                  __assert_program_name ? __assert_program_name : "",
                  __assert_program_name ? ": " : "",
+                 file, line,
                  function ? function : "", function ? ": " : "",
                  assertion);
   (void) fflush (stderr);