- Timestamp:
- Oct 19, 2008 8:40:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/misc/kmk_time.c
r1883 r1884 296 296 GetSystemTimeAsFileTime(&ftStart); 297 297 rc = _spawnvp(_P_WAIT, argv[i], &argv[i]); 298 if (rc != -1)298 if (rc == -1) 299 299 { 300 300 fprintf(stderr, "%s: error: _spawnvp(_P_WAIT, \"%s\", ...) failed: %s\n", name(argv[0]), argv[i], strerror(errno)); … … 311 311 printf("%s: ", name(argv[0])); 312 312 if (cTimes != 1) 313 printf("#% u ", j + 1);313 printf("#%02u ", j + 1); 314 314 printf("%um%u.%06us - exit code: %d\n", 315 315 (unsigned)(usCur / (60 * 1000000)), … … 355 355 printf("%s: ", name(argv[0])); 356 356 if (cTimes != 1) 357 printf("#% u ", j + 1);357 printf("#%02u ", j + 1); 358 358 printf("%um%u.%06us", 359 359 (unsigned)(tv.tv_sec / 60),
Note:
See TracChangeset
for help on using the changeset viewer.