OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db45c29
)
allow '-nics 0'
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 12 May 2004 19:54:43 +0000
(19:54 +0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 12 May 2004 19:54:43 +0000
(19:54 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@802
c046a42c
-6fe2-441c-8c8c-
71466251a162
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index
807215e
..
18f957d
100644
(file)
--- a/
vl.c
+++ b/
vl.c
@@
-2118,7
+2118,7
@@
int main(int argc, char **argv)
break;
case 16:
nb_nics = atoi(optarg);
- if (nb_nics <
1
|| nb_nics > MAX_NICS) {
+ if (nb_nics <
0
|| nb_nics > MAX_NICS) {
fprintf(stderr, "qemu: invalid number of network interfaces\n");
exit(1);
}