diff options
author | julian <julian@FreeBSD.org> | 1996-01-21 09:07:58 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1996-01-21 09:07:58 +0000 |
commit | cbee56e70fb62cf50c675bb87e05d7ee687094e0 (patch) | |
tree | b29fdc405d70cfbf9144b7de52a5fcaca83223c6 /sys/miscfs | |
parent | acadd91a43d91ac85b2154f7426acce628cde8cb (diff) | |
download | FreeBSD-src-cbee56e70fb62cf50c675bb87e05d7ee687094e0.zip FreeBSD-src-cbee56e70fb62cf50c675bb87e05d7ee687094e0.tar.gz |
oops.
get the last edit right
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/devfs/devfs_tree.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/miscfs/devfs/devfs_tree.c b/sys/miscfs/devfs/devfs_tree.c index 94ebd52..7694c04 100644 --- a/sys/miscfs/devfs/devfs_tree.c +++ b/sys/miscfs/devfs/devfs_tree.c @@ -2,7 +2,7 @@ /* * Written by Julian Elischer (julian@DIALix.oz.au) * - * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_tree.c,v 1.12 1996/01/02 09:14:44 peter Exp $ + * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_tree.c,v 1.13 1996/01/21 09:03:15 julian Exp $ */ #include "param.h" @@ -523,14 +523,14 @@ void devfs_remove_dev(void *devnmp) /* * Keep removing the next front node till no more exist */ - while(devnmp->next_front) + while(((devnm_p)devnmp)->next_front) { - dev_free_name(devnmp->next_front); + dev_free_name(((devnm_p)devnmp)->next_front); } /* * then free the main node */ - dev_free_name(devnmp); + dev_free_name((devnm_p)devnmp); return ; } |