diff options
author | bde <bde@FreeBSD.org> | 1996-08-31 16:52:44 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-08-31 16:52:44 +0000 |
commit | 070eb30ca675029e79f93333b60287527efc0906 (patch) | |
tree | d0ca99d3f53a0fe4ea60e83d05baa8825fdd8cc4 /sys/fs | |
parent | db0af2c4dc8e05c93d178bf31653024d244398bb (diff) | |
download | FreeBSD-src-070eb30ca675029e79f93333b60287527efc0906.zip FreeBSD-src-070eb30ca675029e79f93333b60287527efc0906.tar.gz |
Fixed the easy cases of const poisoning in the kernel. Cosmetic.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/procfs/procfs_subr.c | 4 |
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); |