diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-08-12 21:23:10 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-08-12 21:23:10 -0700 |
commit | 9d74e76846da90d73f77ea9e8275a071d869fd31 (patch) | |
tree | 565e2950b654f0ed8967af289a022f666fb2f8f8 /com32/mboot | |
parent | 0456f52098e30355a09ad2e05c3a26fc2dbc1752 (diff) | |
download | syslinux-9d74e76846da90d73f77ea9e8275a071d869fd31.tar.gz |
com32: remove strpcpy() - we already have stpcpy()
Remove strpcpy(); it is exactly the same thing as stpcpy() which we
already have, and which is more "standard" (in the sense that none of
these are actually standard...)
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/mboot')
-rw-r--r-- | com32/mboot/mboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/mboot/mboot.c b/com32/mboot/mboot.c index e7bb8dbb..62ebf523 100644 --- a/com32/mboot/mboot.c +++ b/com32/mboot/mboot.c @@ -135,7 +135,7 @@ static int get_modules(char **argv, struct module_data **mdp) char *p; mp->cmdline = p = malloc(arglen); for (; *argp && strcmp(*argp, module_separator); argp++) { - p = strpcpy(p, *argp); + p = stpcpy(p, *argp); *p++ = ' '; } *--p = '\0'; |