shithub: riscv

Download patch

ref: e584f7f374b861bb31d3b5d92646542adb052cf4
parent: 250e1204000ceb750568e3429bd1c0074671b051
author: mischief <[email protected]>
date: Wed Nov 26 14:32:16 EST 2014

resize: fix typo

--- a/sys/src/cmd/resize.c
+++ b/sys/src/cmd/resize.c
@@ -164,7 +164,7 @@
 		if((nim = allocmemimage(
 			Rect(im->r.min.x, im->r.min.y, im->r.min.x+xsize, im->r.min.y+ysize), 
 			tchan)) == nil)
-			sysfatal("addocmemimage: %r");
+			sysfatal("allocmemimage: %r");
 		resample(nim, nim->r, im, im->r);
 		freememimage(im);
 		im = nim;