diff options
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmdutils.c b/cmdutils.c index 171fcfc840..16067cb556 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -35,10 +35,10 @@ void show_help_options(const OptionDef *options, const char *msg, int mask, int printf("%s", msg); first = 0; } - strcpy(buf, po->name); + pstrcpy(buf, sizeof(buf), po->name); if (po->flags & HAS_ARG) { - strcat(buf, " "); - strcat(buf, po->argname); + pstrcat(buf, sizeof(buf), " "); + pstrcat(buf, sizeof(buf), po->argname); } printf("-%-17s %s\n", buf, po->help); } |