diff options
Diffstat (limited to 'regtest_terex.sh')
| -rwxr-xr-x | regtest_terex.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regtest_terex.sh b/regtest_terex.sh index 0f903d3..4ac9083 100755 --- a/regtest_terex.sh +++ b/regtest_terex.sh @@ -140,7 +140,7 @@ cat<<-EOF>$rgsrc rc = tere_exec(&cre, dat, datlen, NULL, 100, pmatch, eflags); if ( rc != REG_OKAY ) { - regerror(rc, &cre, buf, sizeof(buf)); + tere_error(rc, &cre, buf, sizeof(buf)); fprintf(stderr, "Execution error. %s\n", buf); return 1; } @@ -156,7 +156,7 @@ cat<<-EOF>$rgsrc argv[2]+pmatch[i].rm_so); printf("%s\n", buf); } - regfree(&cre); + tere_free(&cre); return 0; } EOF |
