diff options
| author | Warner Losh <imp@FreeBSD.org> | 1999-04-25 22:29:30 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 1999-04-25 22:29:30 +0000 |
| commit | dcb0ae4ed8d8ff789903b161e53031f3f9280cc2 (patch) | |
| tree | 556cd5632da8c24c38015ac4c816c0cc5dc8d5a4 /lib/libc/string/strcpy.c | |
| parent | 859663719d47f9d552103f222429ecf7530c4240 (diff) | |
Notes
Diffstat (limited to 'lib/libc/string/strcpy.c')
| -rw-r--r-- | lib/libc/string/strcpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/string/strcpy.c b/lib/libc/string/strcpy.c index d1791dd00c35..c9b44b13b125 100644 --- a/lib/libc/string/strcpy.c +++ b/lib/libc/string/strcpy.c @@ -45,6 +45,6 @@ strcpy(to, from) { char *save = to; - for (; *to = *from; ++from, ++to); + for (; (*to = *from); ++from, ++to); return(save); } |
