From f5f98a764daa03685a5f305618ca02dde8e811dd Mon Sep 17 00:00:00 2001 From: jhb Date: Fri, 9 Mar 2007 16:19:34 +0000 Subject: Use C99-style struct member initialization for lock classes. --- sys/kern/kern_lock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c index e15cfa6..8533836 100644 --- a/sys/kern/kern_lock.c +++ b/sys/kern/kern_lock.c @@ -67,10 +67,10 @@ static void db_show_lockmgr(struct lock_object *lock); struct lock_class lock_class_lockmgr = { - "lockmgr", - LC_SLEEPLOCK | LC_SLEEPABLE | LC_RECURSABLE | LC_UPGRADABLE, + .lc_name = "lockmgr", + .lc_flags = LC_SLEEPLOCK | LC_SLEEPABLE | LC_RECURSABLE | LC_UPGRADABLE, #ifdef DDB - db_show_lockmgr + .lc_ddb_show = db_show_lockmgr #endif }; -- cgit v1.1