summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-08-31 16:52:44 +0000
committerbde <bde@FreeBSD.org>1996-08-31 16:52:44 +0000
commit070eb30ca675029e79f93333b60287527efc0906 (patch)
treed0ca99d3f53a0fe4ea60e83d05baa8825fdd8cc4 /sys/fs/procfs
parentdb0af2c4dc8e05c93d178bf31653024d244398bb (diff)
downloadFreeBSD-src-070eb30ca675029e79f93333b60287527efc0906.zip
FreeBSD-src-070eb30ca675029e79f93333b60287527efc0906.tar.gz
Fixed the easy cases of const poisoning in the kernel. Cosmetic.
Diffstat (limited to 'sys/fs/procfs')
-rw-r--r--sys/fs/procfs/procfs_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/procfs/procfs_subr.c b/sys/fs/procfs/procfs_subr.c
index 7d0de04..019a074 100644
--- a/sys/fs/procfs/procfs_subr.c
+++ b/sys/fs/procfs/procfs_subr.c
@@ -36,7 +36,7 @@
*
* @(#)procfs_subr.c 8.4 (Berkeley) 1/27/94
*
- * $Id: procfs_subr.c,v 1.8 1996/06/18 05:15:59 dyson Exp $
+ * $Id: procfs_subr.c,v 1.9 1996/07/02 13:38:10 dyson Exp $
*/
#include <sys/param.h>
@@ -340,7 +340,7 @@ vfs_findname(nm, buf, buflen)
int buflen;
{
for (; nm->nm_name; nm++)
- if (bcmp(buf, (char *) nm->nm_name, buflen+1) == 0)
+ if (bcmp(buf, nm->nm_name, buflen+1) == 0)
return (nm);
return (0);
OpenPOWER on IntegriCloud