[Ocfs2-commits] manish commits r2166 - trunk/fs/ocfs2/cluster
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Fri Apr 22 15:57:24 CDT 2005
Author: manish
Signed-off-by: zab
Date: 2005-04-22 15:57:22 -0500 (Fri, 22 Apr 2005)
New Revision: 2166
Modified:
trunk/fs/ocfs2/cluster/masklog.c
Log:
Use strchr instead of strpbrk, since we're only looking for a single character
Signed-off-by: zab
Modified: trunk/fs/ocfs2/cluster/masklog.c
===================================================================
--- trunk/fs/ocfs2/cluster/masklog.c 2005-04-22 18:37:04 UTC (rev 2165)
+++ trunk/fs/ocfs2/cluster/masklog.c 2005-04-22 20:57:22 UTC (rev 2166)
@@ -105,7 +105,7 @@
str[count] = '\0';
mask = str;
- val = strpbrk(str, " ");
+ val = strchr(str, ' ');
if (val == NULL)
return -EINVAL;
*val = '\0';
More information about the Ocfs2-commits
mailing list