Changeset 08bb73b in mainline


Ignore:
Timestamp:
2013-06-21T17:53:37Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7901ac8
Parents:
a2e3ee6
Message:

Fix ata_bd crash during read TOC operation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/ata_bd/ata_bd.c

    ra2e3ee6 r08bb73b  
    849849        cp.oldformat = 0x40; /* 0x01 = multi-session mode (shifted to MSB) */
    850850       
    851         rc = ata_cmd_packet(0, &cp, sizeof(cp), obuf, obuf_size);
     851        rc = ata_cmd_packet(disk, &cp, sizeof(cp), obuf, obuf_size);
    852852        if (rc != EOK)
    853853                return rc;
Note: See TracChangeset for help on using the changeset viewer.