Use qemu_isfoobar and qemu_towombat versions, based on patch by Christoph Egger

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5774 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2008-11-22 20:04:24 +00:00
parent 11bb09f1be
commit 47398b9c36
5 changed files with 15 additions and 14 deletions

2
net.c
View file

@ -668,7 +668,7 @@ int tap_alloc(char *dev, size_t dev_size)
if( *dev ){
ptr = dev;
while( *ptr && !isdigit((int)*ptr) ) ptr++;
while( *ptr && !qemu_isdigit((int)*ptr) ) ptr++;
ppa = atoi(ptr);
}