summaryrefslogtreecommitdiffstats
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-19 23:22:00 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-19 23:22:00 +0000
commit91c82c20c59b724ac410dd75d378e0798edb4e1b (patch)
treecfd217c7e698d0aaf23ec02241ccbff7719cb9c0 /gcc/builtins.c
parent16cdef4540f82fb1890edce9cc45abab9e6b9f5d (diff)
downloadppe42-gcc-91c82c20c59b724ac410dd75d378e0798edb4e1b.tar.gz
ppe42-gcc-91c82c20c59b724ac410dd75d378e0798edb4e1b.zip
* builtins.c: Fix comment typos.
* c-common.c: Likewise. * c-decl.c: Likewise. * c-pretty-print.c: Likewise. * cfgbuild.c: Likewise. * cfglayout.c: Likewise. * cfgloopanal.c: Likewise. * cgraphunit.c: Likewise. * cppfiles.c: Likewise. * dwarfout.c: Likewise. * expr.c: Likewise. * fold-const.c: Likewise. * gcse.c: Likewise. * ggc-page.c: Likewise. * haifa-sched.c: Likewise. * pretty-print.c: Likewise. * tree.c: Likewise. * tree.h: Likewise. * value-prof.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70583 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 5b975f0f256..934e6fa923d 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -4544,7 +4544,7 @@ expand_builtin_printf (tree arglist, rtx target, enum machine_mode mode,
size_t len = strlen (fmt_str);
if (fmt_str[len - 1] == '\n')
{
- /* Create a NUL-terminalted string that's one char shorter
+ /* Create a NUL-terminated string that's one char shorter
than the original, stripping off the trailing '\n'. */
char *newstr = (char *) alloca (len);
memcpy (newstr, fmt_str, len - 1);
OpenPOWER on IntegriCloud