summaryrefslogtreecommitdiffstats
path: root/kscd/libwm/scsi.c
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-05 13:18:46 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-05 13:18:46 -0500
commitd2fc88a49ddb99863a42e9b7953f920f5b28b944 (patch)
tree2c0d6c75395919eff211bc005544bdf6272aaf11 /kscd/libwm/scsi.c
parent447ec7dc0dabca83f70632ab66cfdba80835a703 (diff)
downloadtdemultimedia-d2fc88a49ddb99863a42e9b7953f920f5b28b944.tar.gz
tdemultimedia-d2fc88a49ddb99863a42e9b7953f920f5b28b944.zip
Fix typos.
Diffstat (limited to 'kscd/libwm/scsi.c')
-rw-r--r--kscd/libwm/scsi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kscd/libwm/scsi.c b/kscd/libwm/scsi.c
index c3c1d342..3ab2772d 100644
--- a/kscd/libwm/scsi.c
+++ b/kscd/libwm/scsi.c
@@ -527,7 +527,7 @@ wm_scsi2_set_volume(struct wm_drive *d, int left, int right)
}
/*------------------------------------------------------------------------*
- * wm_scsi_get_cdtext(drive, buffer, lenght)
+ * wm_scsi_get_cdtext(drive, buffer, length)
*
* Return a buffer with cdtext-stream. buffer mus be allocated and filled
*
@@ -587,11 +587,11 @@ wm_scsi_get_cdtext(struct wm_drive *d, unsigned char **pp_buffer, int *p_buffer_
if(!ret)
{
pHeader = (struct feature_list_header*)dynamic_temp;
-/* printf("length = %i, profile = 0x%02X%02X\n", pHeader->lenght_lsb, pHeader->profile_msb, pHeader->profile_lsb);*/
+/* printf("length = %i, profile = 0x%02X%02X\n", pHeader->length_lsb, pHeader->profile_msb, pHeader->profile_lsb);*/
pDescriptor = (struct feature_descriptor_cdread*)(dynamic_temp + sizeof(struct feature_list_header));
/* printf("code = 0x%02X%02X, settings = 0x%02X, add_length = %i, add_settings = 0x%02X \n",
pDescriptor->feature_code_msb, pDescriptor->feature_code_lsb, pDescriptor->settings,
- pDescriptor->add_lenght, pDescriptor->add_settings);*/
+ pDescriptor->add_length, pDescriptor->add_settings);*/
cdtext_possible = pDescriptor->add_settings & 0x01;
}