summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-10-18 13:29:20 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-10-18 13:29:20 -0400
commit7b93d492d6a4c82079b408961392ccbd588db342 (patch)
tree8b15b7d2c2f82e9a2dc1cc1792a69dded3227971
parent8cef6a9724f77b33636db9b2147257843f26e215 (diff)
embryo: don't use sizeof() when strlen() is intended
Summary: CID 1402617 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10411
-rw-r--r--src/bin/embryo/embryo_cc_sc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/embryo/embryo_cc_sc1.c b/src/bin/embryo/embryo_cc_sc1.c
index 0d88863..bb9486d 100644
--- a/src/bin/embryo/embryo_cc_sc1.c
+++ b/src/bin/embryo/embryo_cc_sc1.c
@@ -2089,7 +2089,7 @@ funcstub(int native)
2089 error(10); /* illegal function or declaration */ 2089 error(10); /* illegal function or declaration */
2090 return; 2090 return;
2091 } /* if */ 2091 } /* if */
2092 assert(sizeof(str) <= sNAMEMAX); 2092 assert(strlen(str) <= sNAMEMAX);
2093 strcpy(symbolname, str); 2093 strcpy(symbolname, str);
2094 } /* if */ 2094 } /* if */
2095 needtoken('('); /* only functions may be native/forward */ 2095 needtoken('('); /* only functions may be native/forward */