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-6142 lustre: convert snprintf to scnprintf as appropriate
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
gss
/
gss_sk_mech.c
diff --git
a/lustre/ptlrpc/gss/gss_sk_mech.c
b/lustre/ptlrpc/gss/gss_sk_mech.c
index
9406370
..
1059df7
100644
(file)
--- a/
lustre/ptlrpc/gss/gss_sk_mech.c
+++ b/
lustre/ptlrpc/gss/gss_sk_mech.c
@@
-886,7
+886,7
@@
void gss_delete_sec_context_sk(void *internal_context)
int gss_display_sk(struct gss_ctx *gss_context, char *buf, int bufsize)
{
- return snprintf(buf, bufsize, "sk");
+ return s
c
nprintf(buf, bufsize, "sk");
}
static struct gss_api_ops gss_sk_ops = {