diff options
| author | Simon J. Gerraty <sjg@FreeBSD.org> | 2020-03-09 16:02:54 +0000 |
|---|---|---|
| committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2020-03-09 16:02:54 +0000 |
| commit | 91cd69ee2c7a88b6a6f5957606cedfef2dab9611 (patch) | |
| tree | 83253d7b5da5ff104c69524ceb759bd5e72140b9 | |
| parent | 69b3fdfa0b9b02d59667a677450c81bd2f55cd73 (diff) | |
Notes
| -rw-r--r-- | stand/ficl/fileaccess.c | 2 | ||||
| -rw-r--r-- | stand/i386/loader/chain.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/stand/ficl/fileaccess.c b/stand/ficl/fileaccess.c index b5e993b02dc2..9dd23f9d34b8 100644 --- a/stand/ficl/fileaccess.c +++ b/stand/ficl/fileaccess.c @@ -69,7 +69,7 @@ static void ficlFopen(FICL_VM *pVM, char *writeMode) /* ( c-addr u fam -- fileid else #ifdef LOADER_VERIEXEC if (*mode == 'r' && - verify_file(fileno(f), filename, 0, VE_GUESS) < 0) { + verify_file(fileno(f), filename, 0, VE_GUESS, __func__) < 0) { fclose(f); stackPushPtr(pVM->pStack, NULL); } else diff --git a/stand/i386/loader/chain.c b/stand/i386/loader/chain.c index 96d029f4818b..d4e3936e13df 100644 --- a/stand/i386/loader/chain.c +++ b/stand/i386/loader/chain.c @@ -95,7 +95,7 @@ command_chain(int argc, char *argv[]) } #else #ifdef LOADER_VERIEXEC - if (verify_file(fd, argv[1], 0, VE_MUST) < 0) { + if (verify_file(fd, argv[1], 0, VE_MUST, __func__) < 0) { sprintf(command_errbuf, "can't verify: %s", argv[1]); close(fd); return (CMD_ERROR); |
