summaryrefslogtreecommitdiff
path: root/numpy/linalg/pythonxerbla.c
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/linalg/pythonxerbla.c')
-rw-r--r--numpy/linalg/pythonxerbla.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/linalg/pythonxerbla.c b/numpy/linalg/pythonxerbla.c
index 397d2ab1d..2c75be3ec 100644
--- a/numpy/linalg/pythonxerbla.c
+++ b/numpy/linalg/pythonxerbla.c
@@ -20,7 +20,7 @@ int xerbla_(char *srname, integer *info)
{
const char* format = "On entry to %.*s" \
" parameter number %d had an illegal value";
- char buf[strlen(format) + 6 + 4]; /* 6 for name, 4 for param. num. */
+ char buf[60 + 6 + 4]; /* 6 for name, 4 for param. num. */
int len = 0; /* length of subroutine name*/
while( len<6 && srname[len]!='\0' )