2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 /* ReallyAbort: called from assert. May/85 */
11 #include <afsconfig.h>
12 #include <afs/param.h>
26 #define TIMESTAMP_BUFFER_SIZE 26 /* including the null */
29 AssertionFailed(char *file, int line)
31 char tdate[TIMESTAMP_BUFFER_SIZE];
36 strftime(tdate, sizeof(tdate), "%a %b %d %T %Y",
37 localtime_r(&when, &tm));
38 fprintf(stderr, "%sAssertion failed! file %s, line %d.\n", tdate, file,