summaryrefslogtreecommitdiff
path: root/com32/mboot
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-08-12 21:23:10 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-08-12 21:23:10 -0700
commit9d74e76846da90d73f77ea9e8275a071d869fd31 (patch)
tree565e2950b654f0ed8967af289a022f666fb2f8f8 /com32/mboot
parent0456f52098e30355a09ad2e05c3a26fc2dbc1752 (diff)
downloadsyslinux-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.c2
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';