From c0c677616e0e243fbe586c5f232aaa00cd7fb85b Mon Sep 17 00:00:00 2001 From: tobias Date: Sat, 10 Oct 2015 20:36:20 +0000 Subject: [PATCH] Added missing curly bracket into LIST_EMPTY example. ok deraadt@, otto@ --- share/man/man3/queue.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3 index bee5b0ef951..01b3fe11b24 100644 --- a/share/man/man3/queue.3 +++ b/share/man/man3/queue.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: queue.3,v 1.60 2014/09/13 01:09:31 guenther Exp $ +.\" $OpenBSD: queue.3,v 1.61 2015/10/10 20:36:20 tobias Exp $ .\" $NetBSD: queue.3,v 1.4 1995/07/03 00:25:36 mycroft Exp $ .\" .\" Copyright (c) 1993 The Regents of the University of California. @@ -30,7 +30,7 @@ .\" .\" @(#)queue.3 8.1 (Berkeley) 12/13/93 .\" -.Dd $Mdocdate: September 13 2014 $ +.Dd $Mdocdate: October 10 2015 $ .Dt QUEUE 3 .Os .Sh NAME @@ -593,7 +593,7 @@ LIST_INSERT_BEFORE(n1, n2, entries); LIST_FOREACH(np, &head, entries) np-> ... -while (!LIST_EMPTY(&head)) /* Delete. */ +while (!LIST_EMPTY(&head)) { /* Delete. */ n1 = LIST_FIRST(&head); LIST_REMOVE(n1, entries); free(n1); -- 2.20.1