BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / commit / e59f635358bdd2270f14afb5677490312ae5cea2

// Related

Nucleus

Barry Small bug-fixes e59f635 (3 years, 2 months ago)
diff --git a/object/list.c b/object/list.c
index 914a303..01f6aef 100644
--- a/object/list.c
+++ b/object/list.c
@@ -135,7 +135,7 @@ remove(ObjectList *list, void *addr)
 	if (list->start == entry)
 		list->start = entry->next;
 	if (list->end == entry)
-		list->end == entry->prev;
+		list->end = entry->prev;
 
 	/* Unlink neighbours */
 	if (entry->prev)
diff --git a/vfs/devfs/super.c b/vfs/devfs/super.c
index 20d9a35..d794ba0 100644
--- a/vfs/devfs/super.c
+++ b/vfs/devfs/super.c
@@ -23,7 +23,7 @@ devfs_mount(FSType *type, int flags, const char *dev, void *data)
 
 	static Inode *inode = NULL;
 	if (!inode) {
-		Inode *inode = super_alloc_inode(super);
+		inode = super_alloc_inode(super);
 		inode->mode = S_IFDIR | 0755;
 		super->root = inode;
 	}