Fix bogon introduce by last commit.
This commit is contained in:
parent
5e5a566754
commit
6555ad204e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76811
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user