mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Fixed typo
This commit is contained in:
		
							parent
							
								
									3e97ef3ea0
								
							
						
					
					
						commit
						31fcb58e9d
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -124,9 +124,10 @@ static int snd_ctl_hw_subscribe_events(snd_ctl_t *handle, int subscribe)
 | 
				
			||||||
static int snd_ctl_hw_card_info(snd_ctl_t *handle, snd_ctl_card_info_t *info)
 | 
					static int snd_ctl_hw_card_info(snd_ctl_t *handle, snd_ctl_card_info_t *info)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	snd_ctl_hw_t *hw = handle->private_data;
 | 
						snd_ctl_hw_t *hw = handle->private_data;
 | 
				
			||||||
	if (ioctl(hw->fd, SNDRV_CTL_IOCTL_CARD_INFO, info) < 0)
 | 
						if (ioctl(hw->fd, SNDRV_CTL_IOCTL_CARD_INFO, info) < 0) {
 | 
				
			||||||
		SYSERR("SNDRV_CTL_IOCTL_CARD_INFO failed");
 | 
							SYSERR("SNDRV_CTL_IOCTL_CARD_INFO failed");
 | 
				
			||||||
		return -errno;
 | 
							return -errno;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
	return 0;
 | 
						return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue