From 7466bc147213bfcd5158107ccd78af9a75272003 Mon Sep 17 00:00:00 2001 From: Danny Auble <da@llnl.gov> Date: Fri, 21 Jan 2005 23:18:19 +0000 Subject: [PATCH] took out the printf's with error() --- src/smap/smap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/smap/smap.c b/src/smap/smap.c index 2bc90a17442..41eef62b956 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); } -- GitLab