Module Name: src
Committed By: apb
Date: Thu Jun 12 19:12:20 UTC 2014
Modified Files:
src/lib/libc/gen: arc4random.c
Log Message:
fix missing backslash in previous
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libc/gen/arc4random.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/gen/arc4random.c
diff -u src/lib/libc/gen/arc4random.c:1.23 src/lib/libc/gen/arc4random.c:1.24
--- src/lib/libc/gen/arc4random.c:1.23 Thu Jun 12 19:05:37 2014
+++ src/lib/libc/gen/arc4random.c Thu Jun 12 19:12:19 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: arc4random.c,v 1.23 2014/06/12 19:05:37 apb Exp $ */
+/* $NetBSD: arc4random.c,v 1.24 2014/06/12 19:12:19 apb Exp $ */
/* $OpenBSD: arc4random.c,v 1.6 2001/06/05 05:05:38 pvalchev Exp $ */
/*
@@ -27,7 +27,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: arc4random.c,v 1.23 2014/06/12 19:05:37 apb Exp $");
+__RCSID("$NetBSD: arc4random.c,v 1.24 2014/06/12 19:12:19 apb Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -63,7 +63,7 @@ struct arc4_stream {
#ifdef _REENTRANT
#define LOCK(rs) do { \
- if (__isthreaded) mutex_lock(&(rs)->mtx);
+ if (__isthreaded) mutex_lock(&(rs)->mtx); \
} while (/*CONSTCOND*/ 0)
#define UNLOCK(rs) do { \
if (__isthreaded) mutex_unlock(&(rs)->mtx); \