VirtualBox

Changeset 1884 in kBuild for trunk


Ignore:
Timestamp:
Oct 19, 2008 8:40:02 PM (16 years ago)
Author:
bird
Message:

kmk_time: windows fix, bettern alignment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/misc/kmk_time.c

    r1883 r1884  
    296296        GetSystemTimeAsFileTime(&ftStart);
    297297        rc = _spawnvp(_P_WAIT, argv[i], &argv[i]);
    298         if (rc != -1)
     298        if (rc == -1)
    299299        {
    300300            fprintf(stderr, "%s: error: _spawnvp(_P_WAIT, \"%s\", ...) failed: %s\n", name(argv[0]), argv[i], strerror(errno));
     
    311311        printf("%s: ", name(argv[0]));
    312312        if (cTimes != 1)
    313             printf("#%u ", j + 1);
     313            printf("#%02u ", j + 1);
    314314        printf("%um%u.%06us - exit code: %d\n",
    315315               (unsigned)(usCur / (60 * 1000000)),
     
    355355        printf("%s: ", name(argv[0]));
    356356        if (cTimes != 1)
    357             printf("#%u ", j + 1);
     357            printf("#%02u ", j + 1);
    358358        printf("%um%u.%06us",
    359359               (unsigned)(tv.tv_sec / 60),
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette