projects
/
am-utils-6.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42d51d7
)
strlen returns size_t not int
author
Christos Zoulas
<christos@zoulas.com>
Wed, 17 Sep 2008 20:14:02 +0000
(20:14 +0000)
committer
Christos Zoulas
<christos@zoulas.com>
Wed, 17 Sep 2008 20:14:02 +0000
(20:14 +0000)
libamu/hasmntopt.c
patch
|
blob
|
history
diff --git
a/libamu/hasmntopt.c
b/libamu/hasmntopt.c
index 01d2d9137457b4744733d65a0ff925708513d673..d0090375f26497ab538ac7a87adb6116c7c5a878 100644
(file)
--- a/
libamu/hasmntopt.c
+++ b/
libamu/hasmntopt.c
@@
-106,7
+106,7
@@
amu_hasmntopt(mntent_t *mnt, char *opt)
char t[MNTMAXSTR];
char *f;
char *o = t;
-
in
t l = strlen(opt);
+
size_
t l = strlen(opt);
xstrlcpy(t, mnt->mnt_opts, sizeof(t));