From 02ff84337aeb2034c5505d2632e99411fd196ac2 Mon Sep 17 00:00:00 2001 From: sater Date: Fri, 24 Oct 1986 16:58:46 +0000 Subject: [PATCH] Typo corrected --- mach/proto/ncg/gencode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mach/proto/ncg/gencode.c b/mach/proto/ncg/gencode.c index a17018202..f7547408b 100644 --- a/mach/proto/ncg/gencode.c +++ b/mach/proto/ncg/gencode.c @@ -85,7 +85,7 @@ string ad2str(ad) addr_t ad; { if (ad.ea_str==0) ad.ea_str=""; if ((long)ad.ea_off==(long)0) { - if strcmp(ad.ea_str,"") + if(ad.ea_str[0]==0) return(mystrcpy("0")); /* don't return empty string */ else return(mystrcpy(ad.ea_str)); -- 2.34.1