From 9b53c0b4302f438589417f910c0233e0990393fe Mon Sep 17 00:00:00 2001 From: Grigoriy Orlov Date: Sat, 8 Jun 2002 12:31:55 +0000 Subject: Fix cut & paste error from last commit. --- sbin/atactl/atactl.c | 8 ++++---- 1 file 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); } /* -- cgit v1.2.3