projects
/
qemu
/ 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
fcf8532
..
c3dc26a
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;