From fa16f6d37b362288e3086fbb34344bc817c09796 Mon Sep 17 00:00:00 2001 From: mdw Date: Thu, 24 Jan 2002 22:26:11 +0000 Subject: [PATCH] Fix build failure when @mlock@ not available. --- lmem.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lmem.c b/lmem.c index 8a21a6f..97e3968 100644 --- a/lmem.c +++ b/lmem.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: lmem.c,v 1.3 2000/07/29 21:58:15 mdw Exp $ + * $Id: lmem.c,v 1.4 2002/01/24 22:26:11 mdw Exp $ * * Locked memory allocation (Unix-specific) * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: lmem.c,v $ + * Revision 1.4 2002/01/24 22:26:11 mdw + * Fix build failure when @mlock@ not available. + * * Revision 1.3 2000/07/29 21:58:15 mdw * (l_destroy): New function for destroying locked memory blocks. * @@ -147,8 +150,8 @@ int l_init(lmem *lm, size_t sz) #ifdef HAVE_MLOCK if (!p) #else - ll->err = 0; - ll->emsg = "locked memory not available on this system"; + lm->err = 0; + lm->emsg = "locked memory not available on this system"; #endif { if ((p = malloc(sz)) == 0) { -- 2.11.0