freedreno: Use the right amount of &'s

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5176>
This commit is contained in:
Kristian H. Kristensen 2020-05-22 15:03:55 -07:00
parent 1f33ca1fed
commit 5f365affc9

View file

@ -438,7 +438,7 @@ fd_context_init(struct fd_context *ctx, struct pipe_screen *pscreen,
}
#if DETECT_OS_ANDROID
if (fd_mesa_debug && FD_DBG_LOG) {
if (fd_mesa_debug & FD_DBG_LOG) {
static unsigned idx = 0;
char *p;
asprintf(&p, "/data/fdlog/%s-%d.log", util_get_process_name(), idx++);