Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2006 20:49:30 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 108578 for review
Message-ID:  <200610272049.k9RKnUhV028124@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=108578

Change 108578 by marcel@marcel_cluster on 2006/10/27 20:48:54

	Fix lsdev.

Affected files ...

.. //depot/projects/ia64/sys/boot/efi/libefi/efifs.c#9 edit

Differences ...

==== //depot/projects/ia64/sys/boot/efi/libefi/efifs.c#9 (text+ko) ====

@@ -393,6 +393,7 @@
 		if (EFI_ERROR(status))
 			goto err;
 
+		sz = sizeof(fi);
 		status = volume->GetInfo(volume, &fs_guid, &sz, &fi);
 		volume->Close(volume);
 		if (EFI_ERROR(status))
@@ -413,8 +414,8 @@
 		continue;
 
 	err:
-		sprintf(line, "[--] error obtaining information: status %ld\n",
-		    (long)status);
+		sprintf(line, "[--] error %d: unable to obtain information\n",
+		    status_to_errno(status));
 		pager_output(line);
 	}
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610272049.k9RKnUhV028124>