summaryrefslogtreecommitdiffstats
path: root/src/loader/loader.c
diff options
context:
space:
mode:
authorJonathan Gray <[email protected]>2014-03-19 01:59:15 +1100
committerEmil Velikov <[email protected]>2014-04-05 12:16:45 +0100
commit727f54a76e03d61462914862d3111afe798547f5 (patch)
treee4ad1d8f446524156ac452d0b3743a5a6525f6c3 /src/loader/loader.c
parent4ccff1499c956b51f18710c7308cbce883f64cd9 (diff)
loader: use 0 instead of FALSE which isn't defined
Signed-off-by: Jonathan Gray <[email protected]> Cc: "10.1" <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/loader/loader.c')
-rw-r--r--src/loader/loader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/loader/loader.c b/src/loader/loader.c
index e343f4a5790..01b4f3a4c9a 100644
--- a/src/loader/loader.c
+++ b/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) {