Log correct reason for camera connect failures

Show the detailed error when we have it, rather than trying to show it
only when we don't.

Bug: 33358375
Change-Id: Ifa7a4f8de7b35a0379224efd1e27d6745844b853
diff --git a/camera/CameraBase.cpp b/camera/CameraBase.cpp
index 15d7715..40f145a 100644
--- a/camera/CameraBase.cpp
+++ b/camera/CameraBase.cpp
@@ -131,7 +131,7 @@
         c->mStatus = NO_ERROR;
     } else {
         ALOGW("An error occurred while connecting to camera %d: %s", cameraId,
-                (cs != nullptr) ? "Service not available" : ret.toString8().string());
+                (cs == nullptr) ? "Service not available" : ret.toString8().string());
         c.clear();
     }
     return c;