device-mapper-multipath/0016-RH-Fix-nvme-compilation-warning.patch
Benjamin Marzinski f97259d84a device-mapper-multipath-0.7.9-5.git2df6110
Rename files
  * Previous patch 0006-0014 are now patches 0008-0016
Add 0006-multipathd-avoid-null-pointer-dereference-in-LOG_MSG.patch
Add 0007-multipath-blacklist-zram-devices.patch
  * The above 2 patches have been submitted upstream
Resolves: bz #1672761
2019-02-06 17:48:43 -06:00

27 lines
861 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Benjamin Marzinski <bmarzins@redhat.com>
Date: Fri, 25 Jan 2019 14:54:56 -0600
Subject: [PATCH] RH: Fix nvme compilation warning
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
---
libmultipath/nvme/argconfig.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libmultipath/nvme/argconfig.h b/libmultipath/nvme/argconfig.h
index adb192b..bfd10ef 100644
--- a/libmultipath/nvme/argconfig.h
+++ b/libmultipath/nvme/argconfig.h
@@ -76,7 +76,7 @@ struct argconfig_commandline_options {
extern "C" {
#endif
-typedef void argconfig_help_func();
+typedef void argconfig_help_func(void);
void argconfig_append_usage(const char *str);
void argconfig_print_help(const char *program_desc,
const struct argconfig_commandline_options *options);
--
2.17.2