mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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:
parent
11bb09f1be
commit
47398b9c36
5 changed files with 15 additions and 14 deletions
2
net.c
2
net.c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue