summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2021-08-12 15:51:43 -0500
committerDavid Teigland <teigland@redhat.com>2021-08-12 15:51:43 -0500
commite5c0562654b8449f91c423e92e9b78d4ce986dc3 (patch)
tree03793bafc581b8a8a901dde11c08b3fa94881013
parent59209ef04944e8f8fac2836be1d875a080c58a9e (diff)
downloadlvm2-e5c0562654b8449f91c423e92e9b78d4ce986dc3.tar.gz
toolcontext.h: use bit field in struct
Two recent additions should have used a bit instead of an entire int.
-rw-r--r--lib/commands/toolcontext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/commands/toolcontext.h b/lib/commands/toolcontext.h
index 0911b05f1..1a1785bfe 100644
--- a/lib/commands/toolcontext.h
+++ b/lib/commands/toolcontext.h
@@ -193,8 +193,8 @@ struct cmd_context {
unsigned run_by_dmeventd:1; /* command is being run by dmeventd */
unsigned sysinit:1; /* --sysinit is used */
unsigned check_devs_used:1; /* check devs used by LVs */
- unsigned print_device_id_not_found; /* print devices file entries not found */
- unsigned ignore_device_name_mismatch; /* skip updating devices file names */
+ unsigned print_device_id_not_found:1; /* print devices file entries not found */
+ unsigned ignore_device_name_mismatch:1; /* skip updating devices file names */
/*
* Devices and filtering.