diff options
Diffstat (limited to 'usr.sbin/pkg_install/info/main.c')
-rw-r--r-- | usr.sbin/pkg_install/info/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/info/main.c b/usr.sbin/pkg_install/info/main.c index 3c78c2f..d77ff0b 100644 --- a/usr.sbin/pkg_install/info/main.c +++ b/usr.sbin/pkg_install/info/main.c @@ -147,7 +147,7 @@ main(int argc, char **argv) break; case 't': - strcpy(PlayPen, optarg); + strncpy(PlayPen, optarg, sizeof(PlayPen)); break; case 'x': |