diff --git a/sbin/swapon/swapon.c b/sbin/swapon/swapon.c index bf621c1132f9..5c6086d9bb97 100644 --- a/sbin/swapon/swapon.c +++ b/sbin/swapon/swapon.c @@ -266,7 +266,8 @@ static const char * swap_on_off_gbde(const char *name, int doingall) { const char *ret; - char pass[64 * 2 + 1], bpass[64]; + char pass[64 * 2 + 1]; + unsigned char bpass[64]; char *dname; int i, error;