From 0e663aacbc86257b8220a68c66cb6302aa50ec80 Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Thu, 6 Oct 2011 11:05:39 -0500 Subject: [PATCH] redhat analysis: ps/display --- ps/display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ps/display.c b/ps/display.c index 0c5e6753..74d1119b 100644 --- a/ps/display.c +++ b/ps/display.c @@ -379,7 +379,7 @@ static void prep_forest_sort(void){ if(!sort_list) { /* assume start time order */ incoming = search_format_array("start_time"); - if(!incoming) fprintf(stderr, "Could not find start_time!\n"); + if(!incoming) { fprintf(stderr, "Could not find start_time!\n"); exit(1); } tmp_list = malloc(sizeof(sort_node)); tmp_list->reverse = 0; tmp_list->typecode = '?'; /* what was this for? */ @@ -390,7 +390,7 @@ static void prep_forest_sort(void){ } /* this is required for the forest option */ incoming = search_format_array("ppid"); - if(!incoming) fprintf(stderr, "Could not find ppid!\n"); + if(!incoming) { fprintf(stderr, "Could not find ppid!\n"); exit(1); } tmp_list = malloc(sizeof(sort_node)); tmp_list->reverse = 0; tmp_list->typecode = '?'; /* what was this for? */