Fixed memory overwrite in BSD joystick driver (thanks SUGIMOTO Sadahiro!)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40504
This commit is contained in:
Sam Lantinga 2002-10-05 05:32:49 +00:00
parent 0a5479f0c8
commit f4d9f8e59f

View file

@ -127,7 +127,7 @@ static void report_free(struct report *);
int
SDL_SYS_JoystickInit(void)
{
char s[10];
char s[16];
int i, fd;
SDL_numjoysticks = 0;