PERFORCE change 108578 for review

Marcel Moolenaar marcel at FreeBSD.org
Fri Oct 27 20:49:31 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=108578

Change 108578 by marcel at 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);
 	}
 }


More information about the p4-projects mailing list