diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2012-01-02 12:12:10 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2012-01-02 12:12:10 +0000 |
| commit | dc15eac046a11d0a831eedf97459900227c50fb8 (patch) | |
| tree | c3375fb3aa9ccc6f33c26a511457552dfbab74a7 /sys/gnu | |
| parent | 762ad1d61427188c189f601d7315496ca15e9e4f (diff) | |
Notes
Diffstat (limited to 'sys/gnu')
| -rw-r--r-- | sys/gnu/fs/xfs/xfs_vfsops.c | 3 |
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)) { |
