tool/CommandSoeRead.cpp
changeset 1995 7d748d9cf9e8
parent 1953 968a531e5a89
child 1966 23c638a81fe7
equal deleted inserted replaced
1994:b369f3f92eb8 1995:7d748d9cf9e8
    88     if (args.size() != 1) {
    88     if (args.size() != 1) {
    89         err << "'" << getName() << "' takes one argument!";
    89         err << "'" << getName() << "' takes one argument!";
    90         throwInvalidUsageException(err);
    90         throwInvalidUsageException(err);
    91     }
    91     }
    92 
    92 
       
    93     ioctl.drive_no = 0; // FIXME
       
    94 
    93     try {
    95     try {
    94         ioctl.idn = parseIdn(args[0]);
    96         ioctl.idn = parseIdn(args[0]);
    95     } catch (runtime_error &e) {
    97     } catch (runtime_error &e) {
    96         err << "Invalid IDN '" << args[0] << "': " << e.what();
    98         err << "Invalid IDN '" << args[0] << "': " << e.what();
    97         throwInvalidUsageException(err);
    99         throwInvalidUsageException(err);