Skip to content

Commit 268c28d

Browse files
authored
Merge pull request #2095 from martin-frbg/trsm
Correct length of name string in xerbla call
2 parents bbd9d98 + 0bd956f commit 268c28d

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)