From: Jonathan Gray Date: Tue, 18 Mar 2014 14:59:15 +0000 (+1100) Subject: loader: use 0 instead of FALSE which isn't defined X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=727f54a76e03d61462914862d3111afe798547f5;p=mesa.git loader: use 0 instead of FALSE which isn't defined Signed-off-by: Jonathan Gray Cc: "10.1" Reviewed-by: Emil Velikov --- 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) {