summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ata/atapi-all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-all.c b/sys/dev/ata/atapi-all.c
index 3dc920a..8fafd45 100644
--- a/sys/dev/ata/atapi-all.c
+++ b/sys/dev/ata/atapi-all.c
@@ -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;
}
OpenPOWER on IntegriCloud