Changeset 121
- Timestamp:
- Jun 9, 2007, 9:30:52 PM (18 years ago)
- Location:
- GPL/trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/core/init.c
r34 r121 21 21 22 22 #include <sound/driver.h> 23 #include <linux/ctype.h> 23 24 #include <sound/control.h> 24 25 #include <sound/info.h> … … 371 372 } 372 373 id = card->id; 373 while (*spos != '\0' && !isalnum 1(*spos))374 while (*spos != '\0' && !isalnum(*spos)) 374 375 spos++; 375 if (isdigit 1(*spos))376 *id++ = isalpha 1(card->shortname[0]) ? card->shortname[0] : 'D';376 if (isdigit(*spos)) 377 *id++ = isalpha(card->shortname[0]) ? card->shortname[0] : 'D'; 377 378 while (*spos != '\0' && (size_t)(id - card->id) < sizeof(card->id) - 1) { 378 if (isalnum 1(*spos))379 if (isalnum(*spos)) 379 380 *id++ = *spos; 380 381 spos++;
Note:
See TracChangeset
for help on using the changeset viewer.