Changeset 244 in flair-src for trunk/tools/FlairGCS/src/main.cpp
- Timestamp:
- May 24, 2018, 11:45:33 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/FlairGCS/src/main.cpp
r234 r244 46 46 int nentries; 47 47 48 printf("Segmentation fault:\n");48 fprintf(stderr,"Segmentation fault:\n"); 49 49 /* Dump a backtrace of the frame which caused the segfault: */ 50 50 nentries = backtrace(bt, sizeof(bt) / sizeof(bt[0])); … … 62 62 63 63 if (bint.c[0] == 1) { 64 printf("error, ground station is only compatible with little endian\n");64 fprintf(stderr,"error, ground station is only compatible with little endian\n"); 65 65 return -1; 66 66 } … … 72 72 73 73 parseOptions(argc, argv); 74 printf("listening on port %i\n", port);74 fprintf(stderr,"listening on port %i\n", port); 75 75 76 76 qRegisterMetaType<const char *>("const char*");
Note:
See TracChangeset
for help on using the changeset viewer.