1
2/******************************************************************************
3 *
4 * Module Name: aslerror - Error handling and statistics
5 *
6 *****************************************************************************/
7
8/*
--- 301 unchanged lines hidden (view full) ---
310 }
311
312 fprintf (OutputFile, "\n");
313 }
314 }
315 }
316 else
317 {
318 fprintf (OutputFile, "%s", Enode->Filename);
319
320 if (Enode->LineNumber)
321 {
322 fprintf (OutputFile, "(%u) i:%6u : ",
323 Enode->LineNumber, Enode->LineNumber);
324 }
325 }
326 }
327
328 /* NULL message ID, just print the raw message */
329
330 if (Enode->MessageId == 0)
331 {
332 fprintf (OutputFile, "%s\n", Enode->Message);
333 }
334 else
335 {
336 /* Decode the message ID */
337
338 fprintf (OutputFile, "%s %4.4d - ",
339 AslErrorLevel[Enode->Level],
340 Enode->MessageId + ((Enode->Level+1) * 1000));
341
342 MainMessage = AslMessages[Enode->MessageId];
343 ExtraMessage = Enode->Message;
344
345 if (Enode->LineNumber)
346 {
347 /* Main message: try to use string from AslMessages first */
348
--- 407 unchanged lines hidden ---
2/******************************************************************************
3 *
4 * Module Name: aslerror - Error handling and statistics
5 *
6 *****************************************************************************/
7
8/*
--- 301 unchanged lines hidden (view full) ---
310 }
311
312 fprintf (OutputFile, "\n");
313 }
314 }
315 }
316 else
317 {
318 fprintf (OutputFile, "%s", Enode->Filename);
319
320 if (Enode->LineNumber)
321 {
322 fprintf (OutputFile, "(%u) i:%6u : ",
323 Enode->LineNumber, Enode->LineNumber);
324 }
325 }
326 }
327
328 /* NULL message ID, just print the raw message */
329
330 if (Enode->MessageId == 0)
331 {
332 fprintf (OutputFile, "%s\n", Enode->Message);
333 }
334 else
335 {
336 /* Decode the message ID */
337
338 fprintf (OutputFile, "%s %4.4d - ",
339 AslErrorLevel[Enode->Level],
340 Enode->MessageId + ((Enode->Level+1) * 1000));
341
342 MainMessage = AslMessages[Enode->MessageId];
343 ExtraMessage = Enode->Message;
344
345 if (Enode->LineNumber)
346 {
347 /* Main message: try to use string from AslMessages first */
348
--- 407 unchanged lines hidden ---