Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pgoyette-localcount]: src/sys/dev Pass correct arg to cgd_spawn()



details:   https://anonhg.NetBSD.org/src/rev/9a7594729269
branches:  pgoyette-localcount
changeset: 852839:9a7594729269
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Fri Jul 22 03:44:36 2016 +0000

description:
Pass correct arg to cgd_spawn()

diffstat:

 sys/dev/cgd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d01a4f2a64e5 -r 9a7594729269 sys/dev/cgd.c
--- a/sys/dev/cgd.c     Fri Jul 22 03:40:51 2016 +0000
+++ b/sys/dev/cgd.c     Fri Jul 22 03:44:36 2016 +0000
@@ -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 @@
        
        sc = device_private(*self);
        if (sc == NULL)
-               sc = cgd_spawn(unit, *self);
+               sc = cgd_spawn(unit, self);
        return sc;
 }
 



Home | Main Index | Thread Index | Old Index