Browse Source

fixed htif exception typo (#423)

pull/432/head
Dai chou 6 years ago
committed by GitHub
parent
commit
f3055afa55
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      fesvr/htif.cc

2
fesvr/htif.cc

@ -238,7 +238,7 @@ void htif_t::parse_arguments(int argc, char ** argv)
retry:
switch (c) {
case 'h': usage(argv[0]);
throw std::invalid_argument("User quered htif_t help text");
throw std::invalid_argument("User queried htif_t help text");
case HTIF_LONG_OPTIONS_OPTIND:
if (optarg) dynamic_devices.push_back(new rfb_t(atoi(optarg)));
else dynamic_devices.push_back(new rfb_t);

Loading…
Cancel
Save