Skip to content

Commit 0bd956f

Browse files
authored
Correct length of name string in xerbla call
1 parent 32c7063 commit 0bd956f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/trsm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ void NAME(char *SIDE, char *UPLO, char *TRANS, char *DIAG,
204204
if (side < 0) info = 1;
205205

206206
if (info != 0) {
207-
BLASFUNC(xerbla)(ERROR_NAME, &info, sizeof(ERROR_NAME));
207+
BLASFUNC(xerbla)(ERROR_NAME, &info, sizeof(ERROR_NAME)-1);
208208
return;
209209
}
210210

0 commit comments

Comments
 (0)