[Mesa-dev] [PATCH 1/4] loader: use 0 instead of FALSE which isn't defined
Jonathan Gray
jsg at jsg.id.au
Tue Mar 18 07:59:15 PDT 2014
Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
---
src/loader/loader.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git src/loader/loader.c src/loader/loader.c
index 811f8a2..caeeebf 100644
--- src/loader/loader.c
+++ src/loader/loader.c
@@ -219,12 +219,12 @@ loader_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id)
version = drmGetVersion(fd);
if (!version) {
log_(_LOADER_WARNING, "MESA-LOADER: invalid drm fd\n");
- return FALSE;
+ return 0;
}
if (!version->name) {
log_(_LOADER_WARNING, "MESA-LOADER: unable to determine the driver name\n");
drmFreeVersion(version);
- return FALSE;
+ return 0;
}
if (strcmp(version->name, "i915") == 0) {
--
1.8.5.3
More information about the mesa-dev
mailing list