From 999acc084b82d35d626b8d160fa6cd93776da467 Mon Sep 17 00:00:00 2001 From: erg Date: Thu, 3 Sep 2009 22:12:51 +0000 Subject: [PATCH] Fix bug in agputs for cgraph --- lib/common/output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common/output.c b/lib/common/output.c index 6424fa79a..4d78ceaca 100644 --- a/lib/common/output.c +++ b/lib/common/output.c @@ -35,8 +35,8 @@ static void agputs (const char* s, FILE* fp) static void agputc (int c, FILE* fp) { static char buf[2] = {'\0','\0'}; - buf[1] = c; - agputs (buf, fp); + buf[0] = c; + putstr ((void*)fp, buf); } #endif -- 2.40.0