summaryrefslogtreecommitdiff
path: root/usr/src/cmd/boot/installgrub/installgrub.c
diff options
context:
space:
mode:
authorSharath M Srinivasan <Sharath.Srinivasan@Sun.COM>2010-01-15 10:09:57 +0530
committerSharath M Srinivasan <Sharath.Srinivasan@Sun.COM>2010-01-15 10:09:57 +0530
commit02032da2d8b8c39f8555e913f6239bba49238e55 (patch)
tree04127259ec0d522fe392686f057c5676f328aa4a /usr/src/cmd/boot/installgrub/installgrub.c
parentb344f6b3aaff135e766e22b3d18489fe22a74198 (diff)
downloadillumos-joyent-02032da2d8b8c39f8555e913f6239bba49238e55.tar.gz
6909170 bootadm dumps core during bfu
Diffstat (limited to 'usr/src/cmd/boot/installgrub/installgrub.c')
-rw-r--r--usr/src/cmd/boot/installgrub/installgrub.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/cmd/boot/installgrub/installgrub.c b/usr/src/cmd/boot/installgrub/installgrub.c
index 6a60554e1b..c5bcbeb6ca 100644
--- a/usr/src/cmd/boot/installgrub/installgrub.c
+++ b/usr/src/cmd/boot/installgrub/installgrub.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -311,7 +311,6 @@ get_start_sector(int fd)
*/
if ((rval = libfdisk_init(&epp, device_p0, NULL, FDISK_READ_DISK))
!= FDISK_SUCCESS) {
- libfdisk_fini(&epp);
switch (rval) {
/*
* The first 3 cases are not an error per-se, just that