projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8238467
)
Fix warning
author
Blue Swirl
<blauwirbel@gmail.com>
Tue, 9 Jun 2009 17:51:21 +0000
(20:51 +0300)
committer
Blue Swirl
<blauwirbel@gmail.com>
Tue, 9 Jun 2009 17:51:21 +0000
(20:51 +0300)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index fcf853222c4cba89d751df0fa508273d1f55eae9..c3dc26a1d56fe5117ae68e9cef5bec4d39e7f632 100644
(file)
--- a/
vl.c
+++ b/
vl.c
@@
-4806,7
+4806,7
@@
static char *find_datadir(const char *argv0)
len = GetModuleFileName(NULL, buf, sizeof(buf) - 1);
if (len == 0) {
- return
len
;
+ return
NULL
;
}
buf[len] = 0;