summaryrefslogtreecommitdiff
path: root/libc/unistd/getopt.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-17 00:23:38 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:26 +0200
commit6d0a357bd0339fae99a17285ab13b021b52449d8 (patch)
tree1087e56d61f1a2b1895ae790baa852c361364cd1 /libc/unistd/getopt.c
parent903b6fc66742b12a33b4dbf306c96a9929d5fa42 (diff)
geopt.c, LT new/pthread.c: s/__mempcpy/mempcpy/
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/unistd/getopt.c')
-rw-r--r--libc/unistd/getopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/unistd/getopt.c b/libc/unistd/getopt.c
index a709b424a..cbdb1fb47 100644
--- a/libc/unistd/getopt.c
+++ b/libc/unistd/getopt.c
@@ -222,7 +222,7 @@ exchange (char **argv, struct _getopt_data *d)
d->__nonoption_flags_len = d->__nonoption_flags_max_len = 0;
else
{
- memset (__mempcpy (new_str, __getopt_nonoption_flags,
+ memset (mempcpy (new_str, __getopt_nonoption_flags,
d->__nonoption_flags_max_len),
'\0', top + 1 - d->__nonoption_flags_max_len);
d->__nonoption_flags_max_len = top + 1;
@@ -328,7 +328,7 @@ _getopt_initialize (attribute_unused int argc, attribute_unused char *const *arg
if (__getopt_nonoption_flags == NULL)
d->__nonoption_flags_max_len = -1;
else
- memset (__mempcpy (__getopt_nonoption_flags, orig_str, len),
+ memset (mempcpy (__getopt_nonoption_flags, orig_str, len),
'\0', d->__nonoption_flags_max_len - len);
}
}