Changeset 9505 for trunk/src/win32k


Ignore:
Timestamp:
Dec 16, 2002, 1:51:33 AM (23 years ago)
Author:
bird
Message:

errors to stderr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/kKrnlLib/src/MkCallTab.c

    r9502 r9505  
    1 /* $Id: MkCallTab.c,v 1.6 2002-12-16 00:46:47 bird Exp $
     1/* $Id: MkCallTab.c,v 1.7 2002-12-16 00:51:33 bird Exp $
    22 *
    33 * Generates the calltab.asm from aImportTab.
     
    6262#include <string.h>
    6363#include <stdio.h>
     64#include <stdlib.h>
    6465
    6566
     
    368369void syntax(void)
    369370{
    370     printf("Incorrect parameter!\n"
    371            "Syntax: mkcalltab.exe <tab>\n"
    372            "   Where <tab> is either calltab or tstfakers.\n"
     371    fprintf(stderr,
     372            "Incorrect parameter!\n"
     373            "Syntax: mkcalltab.exe <tab>\n"
     374            "   Where <tab> is either calltab or tstfakers.\n"
    373375           );
    374376}
     
    394396     * Write Start of file.
    395397     */
    396     printf("; $Id: MkCallTab.c,v 1.6 2002-12-16 00:46:47 bird Exp $\n"
     398    printf("; $Id: MkCallTab.c,v 1.7 2002-12-16 00:51:33 bird Exp $\n"
    397399           ";\n"
    398400           "; Autogenerated calltab file.\n"
     
    11101112        else if (aEntries[i].iOrdinal == iOrdRet)
    11111113        {
    1112             printf("Fatal Error: Duplicate ordinal detected (ord=%d)\n", iOrdRet);
    1113             DosExit(EXIT_PROCESS, iOrdRet);
     1114            fprintf(stderr, "Fatal Error: Duplicate ordinal detected (ord=%d)\n", iOrdRet);
     1115            exit(iOrdRet);
    11141116        }
    11151117    }
     
    11851187    char    szNameExp[64];
    11861188
    1187     printf("; $Id: MkCallTab.c,v 1.6 2002-12-16 00:46:47 bird Exp $\n"
     1189    printf("; $Id: MkCallTab.c,v 1.7 2002-12-16 00:51:33 bird Exp $\n"
    11881190           ";\n"
    11891191           "; Autogenerated import definition file.\n"
     
    12351237     * Write Start of file.
    12361238     */
    1237     printf("/* $Id: MkCallTab.c,v 1.6 2002-12-16 00:46:47 bird Exp $\n"
     1239    printf("/* $Id: MkCallTab.c,v 1.7 2002-12-16 00:51:33 bird Exp $\n"
    12381240           " *\n"
    12391241           " * Autogenerated TstFakers file.\n"
Note: See TracChangeset for help on using the changeset viewer.