Changeset 647
- Timestamp:
- Mar 8, 2004, 6:02:40 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lisp-kernel/lisp-exceptions.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lisp-kernel/lisp-exceptions.c
r621 r647 2194 2194 #include <mach/machine/thread_status.h> 2195 2195 2196 #define MACH_CHECK_ERROR(context,x) if (x != KERN_SUCCESS) {Bug(NULL, "Mach error while %s : ~d", context, x);} 2196 void 2197 fatal_mach_error(format, ...); 2198 2199 #define MACH_CHECK_ERROR(context,x) if (x != KERN_SUCCESS) {fatal_mach_error("Mach error while %s : ~d", context, x);} 2197 2200 2198 2201 … … 2738 2741 } 2739 2742 2740 2741 #endif 2743 void 2744 fatal_mach_error(char *format, ...) 2745 { 2746 va_list args; 2747 char s[512]; 2748 2749 2750 va_start(args, format); 2751 vsnprintf(s, sizeof(s),format, args); 2752 va_end(args); 2753 2754 Fatal("Mach error", s); 2755 } 2756 2757 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
