git: af09db250b09 - stable/13 - stand/module: skip is only used by veriexec
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 22:10:10 UTC
The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=af09db250b09684b0e8fae09f9f702a3b5688b76 commit af09db250b09684b0e8fae09f9f702a3b5688b76 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2021-12-16 02:52:29 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-01-24 21:49:19 +0000 stand/module: skip is only used by veriexec Sponsored by: Netflix (cherry picked from commit f037731345f1f4d2b09bb91648c6b4ea8638a65f) --- stand/common/module.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/stand/common/module.c b/stand/common/module.c index 29864932bb9d..bf95fbc59ea3 100644 --- a/stand/common/module.c +++ b/stand/common/module.c @@ -113,9 +113,8 @@ command_load(int argc, char *argv[]) struct preloaded_file *fp; char *typestr; #ifdef LOADER_VERIEXEC - char *prefix; + char *prefix, *skip; #endif - char *skip; int dflag, dofile, dokld, ch, error; dflag = dokld = dofile = 0; @@ -128,8 +127,8 @@ command_load(int argc, char *argv[]) } #ifdef LOADER_VERIEXEC prefix = NULL; -#endif skip = NULL; +#endif while ((ch = getopt(argc, argv, "dkp:s:t:")) != -1) { switch(ch) { case 'd': @@ -142,10 +141,10 @@ command_load(int argc, char *argv[]) case 'p': prefix = optarg; break; -#endif case 's': skip = optarg; break; +#endif case 't': typestr = optarg; dofile = 1;