diff options
author | Steve Dickson <steved@redhat.com> | 2017-07-19 16:24:27 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2017-07-26 11:27:23 -0400 |
commit | b3b59568db7c96a3ed4a683f40e34542d63071cb (patch) | |
tree | b2eb7b5a445f6eff2d75d480eef0050795a8f2b3 /support/nfs/xlog.c | |
parent | 65675d17d235874572a18fe2f4656e97dc699fe0 (diff) | |
download | nfs-utils-b3b59568db7c96a3ed4a683f40e34542d63071cb.tar.gz nfs-utils-b3b59568db7c96a3ed4a683f40e34542d63071cb.tar.xz nfs-utils-b3b59568db7c96a3ed4a683f40e34542d63071cb.zip |
device-discovery.c: removed a warning
device-discovery.c:171:13: warning: In the GNU C Library, "major" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "major", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including <sys/types.h>.
} else if (dm_is_dm_major(major(dev)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/xlog.c')
0 files changed, 0 insertions, 0 deletions