summaryrefslogtreecommitdiffstats
path: root/sys/miscfs
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1995-04-20 07:42:41 +0000
committerjulian <julian@FreeBSD.org>1995-04-20 07:42:41 +0000
commit936b7c1314ac293785af1174e3070079001615ba (patch)
tree940135f1d39ce6e7d83599d37e777f313a9e8d81 /sys/miscfs
parentfc2ca630c753de05684f65544c6baa9c7d3062c0 (diff)
downloadFreeBSD-src-936b7c1314ac293785af1174e3070079001615ba.zip
FreeBSD-src-936b7c1314ac293785af1174e3070079001615ba.tar.gz
Submitted by: julian
@#%$#@ ftp -p corrupted the file in transfer.. (cut off the last 2 lines).. fix this
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/devfs/devfs_front.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/miscfs/devfs/devfs_front.c b/sys/miscfs/devfs/devfs_front.c
index 81d3a17..14bf104 100644
--- a/sys/miscfs/devfs/devfs_front.c
+++ b/sys/miscfs/devfs/devfs_front.c
@@ -1,7 +1,7 @@
/*
* Written by Julian Elischer (julian@DIALix.oz.au)
*
- * $Header: /sys/miscfs/devfs/RCS/devfs_front.c,v 1.3 1995/01/07 04:20:25 root Exp root $
+ * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_front.c,v 1.2 1995/04/20 07:34:52 julian Exp $
*
*/
@@ -139,7 +139,7 @@ int dev_mk_front(dn_p parent,devnm_p back,devnm_p *devnm_pp , struct devfsmount
case DEV_BDEV:
case DEV_CDEV:
case DEV_DDEV:
- newfp->dnp = back->dnp;
+ dnp = newfp->dnp = back->dnp;
newfp->dnp->links++; /* wherever it is.....*/
break;
case DEV_DIR:
@@ -472,4 +472,5 @@ DBPRINT(("(New vnode)"));
error = EINVAL;
}
}
- return \ No newline at end of file
+ return error;
+}
OpenPOWER on IntegriCloud