PERFORCE change 219782 for review

Brooks Davis brooks at FreeBSD.org
Wed Nov 14 18:52:46 UTC 2012


http://p4web.freebsd.org/@@219782?ac=10

Change 219782 by brooks at brooks_zenith on 2012/11/14 18:51:43

	Correct the location of offset and length arguments.

Affected files ...

.. //depot/projects/ctsrd/cheribsd/src/ctsrd/libexec/readpng-cheri/readpng-cheri.c#2 edit

Differences ...

==== //depot/projects/ctsrd/cheribsd/src/ctsrd/libexec/readpng-cheri/readpng-cheri.c#2 (text+ko) ====

@@ -51,7 +51,7 @@
 cheri_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
 {
       
-	memcpy_fromcap(data, 2, length, offset);
+	memcpy_fromcap(data, 2, offset, length);
 	offset += length;
 }
 


More information about the p4-projects mailing list