Fix buffer length.

PR: 41063
This commit is contained in:
Søren Schmidt 2002-08-19 18:52:23 +00:00
parent f6137a0df1
commit 8ba0fd9c32

View File

@ -686,7 +686,7 @@ atapi_cmd2str(u_int8_t cmd)
case 0xbe: return ("READ_CD");
case 0xff: return ("POLL_DSC");
default: {
static char buffer[16];
static char buffer[20];
sprintf(buffer, "unknown CMD (0x%02x)", cmd);
return buffer;
}