The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=f037731345f1f4d2b09bb91648c6b4ea8638a65f

commit f037731345f1f4d2b09bb91648c6b4ea8638a65f
Author:     Warner Losh <[email protected]>
AuthorDate: 2021-12-16 02:52:29 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2021-12-16 02:58:33 +0000

    stand/module: skip is only used by veriexec
    
    Sponsored by:           Netflix
---
 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 b9ddd868b8de..9cb10d0f9f9d 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;

Reply via email to