From: John Darrington Date: Sat, 4 May 2019 04:55:07 +0000 (+0200) Subject: Correct thinko in previous commit X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eda9e0fe3636e8af0d937ce78f782ed01ecbb80e;p=pspp Correct thinko in previous commit --- diff --git a/src/output/driver.c b/src/output/driver.c index 44aa255824..e4227b8ca5 100644 --- a/src/output/driver.c +++ b/src/output/driver.c @@ -76,7 +76,7 @@ static struct output_engine * engine_stack_top (void) { struct ll *head = ll_head (&engine_stack); - if (ll_is_empty (head)) + if (ll_is_empty (&engine_stack)) return NULL; return ll_data (head, struct output_engine, ll); }