diff options
author | sos <sos@FreeBSD.org> | 2001-05-18 11:38:58 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2001-05-18 11:38:58 +0000 |
commit | 50fdd52effcf737a2dcae8320cf8a0aa0d46377e (patch) | |
tree | e5d3e9d3e22190dbe86110941322e7b64fc06980 /sbin/atacontrol | |
parent | 5dcd334a54de067ae4fd30cf8a272065ecd82f4e (diff) | |
download | FreeBSD-src-50fdd52effcf737a2dcae8320cf8a0aa0d46377e.zip FreeBSD-src-50fdd52effcf737a2dcae8320cf8a0aa0d46377e.tar.gz |
Fix bogon introduce by last commit.
Diffstat (limited to 'sbin/atacontrol')
-rw-r--r-- | sbin/atacontrol/atacontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/atacontrol/atacontrol.c b/sbin/atacontrol/atacontrol.c index 4caa7c7..20cf1a4 100644 --- a/sbin/atacontrol/atacontrol.c +++ b/sbin/atacontrol/atacontrol.c @@ -168,7 +168,7 @@ main(int argc, char **argv) info_print(fd, iocmd.channel, 0); } else if (!strcmp(argv[1], "reinit") && argc == 3) { - iocmd.cmd = ATAATTACH; + iocmd.cmd = ATAREINIT; if (ioctl(fd, IOCATA, &iocmd) < 0) warn("ioctl(ATAREINIT)"); info_print(fd, iocmd.channel, 0); |