Move more towards making MMC a library. Start to reorganize more to

break out 1-1 SCSI-MMC commands (in mmc_ll_cmds.c) from higher-level
commands which use the lower-level ones.
This commit is contained in:
R. Bernstein
2010-02-07 18:35:47 -05:00
parent bf7d63b435
commit d3a0ba06e1
13 changed files with 149 additions and 70 deletions

View File

@@ -488,7 +488,7 @@ main(int argc, char *argv[])
if (p_op->arg.psz) free(p_op->arg.psz);
break;
case OP_IDLE:
rc = mmc_start_stop_unit(p_cdio, false, false, true);
rc = mmc_start_stop_unit(p_cdio, false, false, true, 0);
report(stdout, "%s (mmc_start_stop_media - powerdown): %s\n",
program_name, cdio_driver_errmsg(rc));
break;