loader: use 0 instead of FALSE which isn't defined
authorJonathan Gray <jsg@jsg.id.au>
Tue, 18 Mar 2014 14:59:15 +0000 (01:59 +1100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 5 Apr 2014 11:16:45 +0000 (12:16 +0100)
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/loader/loader.c

index e343f4a5790be8cb8c623df561c49c94f54d3f88..01b4f3a4c9aa32a4efc30142a47663fb032ae9bb 100644 (file)
@@ -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) {