summaryrefslogtreecommitdiff
path: root/sys/gnu
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2012-01-02 12:12:10 +0000
committerEd Schouten <ed@FreeBSD.org>2012-01-02 12:12:10 +0000
commitdc15eac046a11d0a831eedf97459900227c50fb8 (patch)
treec3375fb3aa9ccc6f33c26a511457552dfbab74a7 /sys/gnu
parent762ad1d61427188c189f601d7315496ca15e9e4f (diff)
Notes
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/fs/xfs/xfs_vfsops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/gnu/fs/xfs/xfs_vfsops.c b/sys/gnu/fs/xfs/xfs_vfsops.c
index 63d568b1d87b..e97a36399a0e 100644
--- a/sys/gnu/fs/xfs/xfs_vfsops.c
+++ b/sys/gnu/fs/xfs/xfs_vfsops.c
@@ -1743,8 +1743,7 @@ xfs_parseargs(
while ((this_char = strsep(&options, ",")) != NULL) {
if (!*this_char)
continue;
-
- if ((value = index(this_char, '=')) != NULL)
+ if ((value = strchr(this_char, '=')) != NULL)
*value++ = 0;
if (!strcmp(this_char, MNTOPT_LOGBUFS)) {