Whamcloud - gitweb
LU-6142 lustre: convert snprintf to scnprintf as appropriate
[fs/lustre-release.git] / lustre / ptlrpc / gss / gss_null_mech.c
index 142438a..6362673 100644 (file)
@@ -147,7 +147,7 @@ void gss_delete_sec_context_null(void *internal_context)
 
 int gss_display_null(struct gss_ctx *gss_context, char *buf, int bufsize)
 {
-       return snprintf(buf, bufsize, "null");
+       return scnprintf(buf, bufsize, "null");
 }
 
 static