diff options
author | sos <sos@FreeBSD.org> | 2002-08-19 18:52:23 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2002-08-19 18:52:23 +0000 |
commit | 32d992cd392a444b63141edb7a5b5d0483eb36f2 (patch) | |
tree | 1486f52a419c39dd5c6e99a880a73de2c0ec6608 /sys | |
parent | 74aa80c3e420c066f71c398fa79f69f022fd75cf (diff) | |
download | FreeBSD-src-32d992cd392a444b63141edb7a5b5d0483eb36f2.zip FreeBSD-src-32d992cd392a444b63141edb7a5b5d0483eb36f2.tar.gz |
Fix buffer length.
PR: 41063
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ata/atapi-all.c | 2 |
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; } |