Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
netbsd.c: Fix invalid error return in get_track_msf_netbsd().
Found by Thomas Schmitt.
  • Loading branch information
vext01 committed Dec 9, 2018
1 parent 561d7a8 commit cc9f216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/driver/netbsd.c
Expand Up @@ -637,7 +637,7 @@ get_track_msf_netbsd(void *user_data, track_t track_num, msf_t *msf)
if (!_obj->toc_valid) {
res = _cdio_read_toc(_obj);
if (!res)
return CDIO_INVALID_TRACK;
return false;
}

if (track_num == CDIO_CDROM_LEADOUT_TRACK)
Expand Down

0 comments on commit cc9f216

Please sign in to comment.