diff --git a/src/smap/smap.c b/src/smap/smap.c index 2bc90a1744257ebe938bf1b2d1917e7fd469848b..41eef62b95660298950252f931625ebf9fc11408 100644 --- a/src/smap/smap.c +++ b/src/smap/smap.c @@ -95,7 +95,7 @@ int main(int argc, char *argv[]) pa_init(node_info_ptr); } #else - printf("This will only run on a BGL system right now.\n"); + error("This will only run on a BGL system right now.\n"); exit(0); #endif @@ -107,7 +107,7 @@ int main(int argc, char *argv[]) initscr(); if (COLS < (75 + width) || LINES < height) { endwin(); - printf("Screen is too small make sure the screen is at least %dx%d\n" + error("Screen is too small make sure the screen is at least %dx%d\n" "Right now it is %dx%d\n", 75 + width, height, COLS, LINES); exit(0); } @@ -232,7 +232,7 @@ void *_resize_handler(int sig) initscr(); if (COLS < (75 + width) || LINES < height) { endwin(); - printf("Screen is too small make sure the screen is at least %dx%d\n" + error("Screen is too small make sure the screen is at least %dx%d\n" "Right now it is %dx%d\n", 75 + width, height, COLS, LINES); exit(0); }