Whamcloud - gitweb
LU-9680 utils: fix Netlink / YAML library handling
[fs/lustre-release.git] / libcfs / include / libcfs / linux / linux-net.h
index 4d43894..17b1b30 100644 (file)
@@ -30,9 +30,9 @@
 char *nla_strdup(const struct nlattr *nla, gfp_t flags);
 #endif /* !HAVE_NLA_STRDUP */
 
-#ifndef HAVE_NLA_STRSCPY
+#ifdef HAVE_NLA_STRLCPY
 #define nla_strscpy    nla_strlcpy
-#endif /* !HAVE_NLA_STRSCPY */
+#endif /* HAVE_NLA_STRLCPY */
 
 #ifndef HAVE_NL_PARSE_WITH_EXT_ACK