summaryrefslogtreecommitdiff
path: root/sys/dev/ata/ata.c
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2007-04-08 14:20:27 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2007-04-08 14:20:27 +0000
commit2210a9123e289f0ea6ab7db18bffca3d84dd66e5 (patch)
tree6ac529503da5dc5a362635fd773d79cd926f17ec /sys/dev/ata/ata.c
parent32b5489bbcc5b27330416f5f08343119e096cedc (diff)
Use CMD_OK instead of 0, no binary change, from mickey
Diffstat (limited to 'sys/dev/ata/ata.c')
-rw-r--r--sys/dev/ata/ata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/ata.c b/sys/dev/ata/ata.c
index 8c6c8d93acd..aa43a3c7c95 100644
--- a/sys/dev/ata/ata.c
+++ b/sys/dev/ata/ata.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ata.c,v 1.27 2007/03/25 10:33:52 deraadt Exp $ */
+/* $OpenBSD: ata.c,v 1.28 2007/04/08 14:20:26 pedro Exp $ */
/* $NetBSD: ata.c,v 1.9 1999/04/15 09:41:09 bouyer Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -134,7 +134,7 @@ ata_get_params(struct ata_drive_datas *drvp, u_int8_t flags,
prms->atap_model[1] == 'E') ||
(prms->atap_model[0] == 'F' &&
prms->atap_model[1] == 'X')))
- return 0;
+ return CMD_OK;
for (i = 0; i < sizeof(prms->atap_model); i += 2) {
p = (u_short *)(prms->atap_model + i);
*p = swap16(*p);