summaryrefslogtreecommitdiffstats
path: root/kscd/libwm/scsi.c
diff options
context:
space:
mode:
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;
}