summary refs log tree commit diff
path: root/misc/regexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/regexp.h')
-rw-r--r--misc/regexp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/regexp.h b/misc/regexp.h
index f31b1af1d0..9ab25499a6 100644
--- a/misc/regexp.h
+++ b/misc/regexp.h
@@ -191,7 +191,7 @@ compile (char *__instring, char *__expbuf, __const char *__endbuf, int __eof)
       }
 
   /* Everything is ok.  */
-  RETURN ((char *) (__expr_ptr->buffer + __expr->used));
+  RETURN ((char *) (__expr_ptr->buffer + __expr_ptr->used));
 }
 #endif