diff options
author | marius <marius@FreeBSD.org> | 2012-03-21 16:59:39 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2012-03-21 16:59:39 +0000 |
commit | cc444f6cf55f23db4d16615150883d872ffb5bd2 (patch) | |
tree | ecf4732c0a19395313044e11b9f3ed72b03a4eea /sys/dev/ata/ata-queue.c | |
parent | 20d817657d8db6ea88d3c8f0ab6ea12ee1a7934d (diff) | |
download | FreeBSD-src-cc444f6cf55f23db4d16615150883d872ffb5bd2.zip FreeBSD-src-cc444f6cf55f23db4d16615150883d872ffb5bd2.tar.gz |
- First pass at const'ifying ata(4) as appropriate.
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers
MFC after: 1 week
Diffstat (limited to 'sys/dev/ata/ata-queue.c')
-rw-r--r-- | sys/dev/ata/ata-queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-queue.c b/sys/dev/ata/ata-queue.c index 070d711..d18f9c1 100644 --- a/sys/dev/ata/ata-queue.c +++ b/sys/dev/ata/ata-queue.c @@ -684,7 +684,7 @@ ata_sort_queue(struct ata_channel *ch, struct ata_request *request) } #endif -char * +const char * ata_cmd2str(struct ata_request *request) { static char buffer[20]; |