From 727f54a76e03d61462914862d3111afe798547f5 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Wed, 19 Mar 2014 01:59:15 +1100 Subject: [PATCH] loader: use 0 instead of FALSE which isn't defined Signed-off-by: Jonathan Gray Cc: "10.1" Reviewed-by: Emil Velikov --- src/loader/loader.c | 4 ++-- 1 file 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) { -- 2.30.2