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-4629 gss: fix few issues found by Klocwork Insight tool
[fs/lustre-release.git]
/
lustre
/
utils
/
gss
/
gssd.c
diff --git
a/lustre/utils/gss/gssd.c
b/lustre/utils/gss/gssd.c
index
c23e644
..
6650648
100644
(file)
--- a/
lustre/utils/gss/gssd.c
+++ b/
lustre/utils/gss/gssd.c
@@
-203,7
+203,7
@@
main(int argc, char *argv[])
break;
case 'd':
strncpy(ccachedir, optarg, sizeof(ccachedir));
- if (ccachedir[sizeof(ccachedir
-1)
] != '\0')
+ if (ccachedir[sizeof(ccachedir
)-1
] != '\0')
errx(1, "ccachedir path name too long");
break;
default: