aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-18 02:09:36 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-18 02:09:36 +0000
commit7317b8cad72b39bf06d1ce76e20a92c7ef157ba6 (patch)
treefb3fd13ec4b274803c77080411f03e46b0282d59 /vl.c
parent9596ebb7012a19a45ca036a200acd617a93a321b (diff)
downloadqemu-7317b8cad72b39bf06d1ce76e20a92c7ef157ba6.zip
qemu-7317b8cad72b39bf06d1ce76e20a92c7ef157ba6.tar.gz
qemu-7317b8cad72b39bf06d1ce76e20a92c7ef157ba6.tar.bz2
Fix a && -> & typo.
Catch wrong/unknown NOR flash command sequences, by Thorsten Zitterell. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3684 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index b1e0cc7..e54afbf 100644
--- a/vl.c
+++ b/vl.c
@@ -8269,7 +8269,7 @@ int main(int argc, char **argv)
kqemu_allowed = 0;
#endif
linux_boot = (kernel_filename != NULL);
- net_boot = (boot_devices_bitmap >> ('n' - 'a')) && 0xF;
+ net_boot = (boot_devices_bitmap >> ('n' - 'a')) & 0xF;
/* XXX: this should not be: some embedded targets just have flash */
if (!linux_boot && net_boot == 0 &&