Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-9680 utils: fix Netlink / YAML library handling
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
linux
/
linux-net.h
diff --git
a/libcfs/include/libcfs/linux/linux-net.h
b/libcfs/include/libcfs/linux/linux-net.h
index
4d43894
..
17b1b30
100644
(file)
--- a/
libcfs/include/libcfs/linux/linux-net.h
+++ b/
libcfs/include/libcfs/linux/linux-net.h
@@
-30,9
+30,9
@@
char *nla_strdup(const struct nlattr *nla, gfp_t flags);
#endif /* !HAVE_NLA_STRDUP */
char *nla_strdup(const struct nlattr *nla, gfp_t flags);
#endif /* !HAVE_NLA_STRDUP */
-#if
ndef HAVE_NLA_STRS
CPY
+#if
def HAVE_NLA_STRL
CPY
#define nla_strscpy nla_strlcpy
#define nla_strscpy nla_strlcpy
-#endif /*
!HAVE_NLA_STRS
CPY */
+#endif /*
HAVE_NLA_STRL
CPY */
#ifndef HAVE_NL_PARSE_WITH_EXT_ACK
#ifndef HAVE_NL_PARSE_WITH_EXT_ACK