public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca44bfc
)
Typo corrected
author
sater
<none@none>
Fri, 24 Oct 1986 16:58:46 +0000
(16:58 +0000)
committer
sater
<none@none>
Fri, 24 Oct 1986 16:58:46 +0000
(16:58 +0000)
mach/proto/ncg/gencode.c
patch
|
blob
|
history
diff --git
a/mach/proto/ncg/gencode.c
b/mach/proto/ncg/gencode.c
index
a170182
..
f754740
100644
(file)
--- 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));