PERFORCE change 108787 for review

Marcel Moolenaar marcel at FreeBSD.org
Mon Oct 30 23:36:11 UTC 2006


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

Change 108787 by marcel at marcel_cluster on 2006/10/30 23:35:33

	Have the strategy function return an error so that
	accidental use of the unimplemented function will do
	something sensible.

Affected files ...

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

Differences ...

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

@@ -453,7 +453,7 @@
 efifs_dev_strategy(void *devdata, int rw, daddr_t dblk, size_t size, char *buf, size_t *rsize)
 {
 
-	return (0);
+	return (ENOSYS);
 }
 
 struct devsw efifs_dev = {


More information about the p4-projects mailing list