Module Name:    src
Committed By:   pgoyette
Date:           Fri Jul 22 03:44:36 UTC 2016

Modified Files:
        src/sys/dev [pgoyette-localcount]: cgd.c

Log Message:
Pass correct arg to cgd_spawn()


To generate a diff of this commit:
cvs rdiff -u -r1.108.2.6 -r1.108.2.7 src/sys/dev/cgd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/cgd.c
diff -u src/sys/dev/cgd.c:1.108.2.6 src/sys/dev/cgd.c:1.108.2.7
--- src/sys/dev/cgd.c:1.108.2.6	Fri Jul 22 03:40:51 2016
+++ src/sys/dev/cgd.c	Fri Jul 22 03:44:36 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: cgd.c,v 1.108.2.6 2016/07/22 03:40:51 pgoyette Exp $ */
+/* $NetBSD: cgd.c,v 1.108.2.7 2016/07/22 03:44:36 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.108.2.6 2016/07/22 03:40:51 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.108.2.7 2016/07/22 03:44:36 pgoyette Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -202,7 +202,7 @@ getcgd_softc(dev_t dev, device_t *self)
 	
 	sc = device_private(*self);
 	if (sc == NULL)
-		sc = cgd_spawn(unit, *self);
+		sc = cgd_spawn(unit, self);
 	return sc;
 }
 

Reply via email to