diff options
Diffstat (limited to 'usr/src/lib/lvm/libmeta/common/meta_devadm.c')
-rw-r--r-- | usr/src/lib/lvm/libmeta/common/meta_devadm.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/lib/lvm/libmeta/common/meta_devadm.c b/usr/src/lib/lvm/libmeta/common/meta_devadm.c index 411da72b60..0d90d2f802 100644 --- a/usr/src/lib/lvm/libmeta/common/meta_devadm.c +++ b/usr/src/lib/lvm/libmeta/common/meta_devadm.c @@ -19,12 +19,9 @@ * CDDL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <stdio.h> #include <stdarg.h> #include <ctype.h> @@ -292,6 +289,7 @@ meta_update_namespace( nm.devname = (uintptr_t)devname; nm.devname_len = strlen(devname); nm.mnum = meta_getminor(dev); + nm.major = meta_getmajor(dev); nm.key = key; nm.pathname = (uintptr_t)pname; nm.pathname_len = strlen(pname); |