summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/atactl/atactl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/atactl/atactl.c b/sbin/atactl/atactl.c
index 9c439d57c22..b153e6a0c4e 100644
--- a/sbin/atactl/atactl.c
+++ b/sbin/atactl/atactl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atactl.c,v 1.13 2002/06/04 23:08:44 csapuntz Exp $ */
+/* $OpenBSD: atactl.c,v 1.14 2002/06/08 12:31:54 gluk Exp $ */
/* $NetBSD: atactl.c,v 1.4 1999/02/24 18:49:14 jwise Exp $ */
/*-
@@ -382,9 +382,9 @@ device_identify(argc, argv)
swap16_multi((u_int16_t *)(inqbuf->atap_model),
sizeof(inqbuf->atap_model) / 2);
swap16_multi((u_int16_t *)(inqbuf->atap_serial),
- sizeof(inqbuf->atap_model) / 2);
- swap16_multi((u_int16_t *)(inqbuf->atap_model),
- sizeof(inqbuf->atap_model) / 2);
+ sizeof(inqbuf->atap_serial) / 2);
+ swap16_multi((u_int16_t *)(inqbuf->atap_revision),
+ sizeof(inqbuf->atap_revision) / 2);
}
/*