diff options
author | Grigoriy Orlov <gluk@cvs.openbsd.org> | 2002-06-08 12:31:55 +0000 |
---|---|---|
committer | Grigoriy Orlov <gluk@cvs.openbsd.org> | 2002-06-08 12:31:55 +0000 |
commit | 9b53c0b4302f438589417f910c0233e0990393fe (patch) | |
tree | bfb05f7e93a48c07b0153ce9c30a456d8b8a17ee /sbin/atactl/atactl.c | |
parent | eb1de52cde1c34f769d2cc2f12aca29868e4349a (diff) |
Fix cut & paste error from last commit.
Diffstat (limited to 'sbin/atactl/atactl.c')
-rw-r--r-- | sbin/atactl/atactl.c | 8 |
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); } /* |