Changeset 651 for trunk/launch/launch/main.c
- Timestamp:
- 01/11/13 01:38:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/launch/launch/main.c
r490 r651 3 3 Nicholas Riley <launchsw@sabi.net> 4 4 5 Copyright (c) 2001- 09, Nicholas Riley5 Copyright (c) 2001-13, Nicholas Riley 6 6 All rights reserved. 7 7 … … 37 37 const char *APP_NAME; 38 38 39 #define VERSION "1.1.1d 3"39 #define VERSION "1.1.1d4" 40 40 41 41 #define STRBUF_LEN 1024 … … 97 97 { procNotFound, "unable to connect to system service.\nAre you logged in?" }, 98 98 { kCGErrorIllegalArgument, "window server error.\nAre you logged in?" }, 99 { kCGErrorApplicationRequiresNewerSystem, "application requires a newer Mac OS X version" },100 99 { fnfErr, "file not found" }, 101 100 { eofErr, "data not found" }, … … 660 659 if (typeStr == NULL) { 661 660 // punt to displaying verbatim 662 static char tmpBuffer[ 4];661 static char tmpBuffer[5]; 663 662 tmpBuffer[4] = '\0'; 664 663 strncpy(tmpBuffer, (const char *)&osType, 4); … … 744 743 continue; 745 744 } 746 printf( arch->description);745 printf("%s", arch->description); 747 746 } 748 747 printf("\n");
Note:
See TracChangeset
for help on using the changeset viewer.