fix two error messages

This commit is contained in:
tTh 2024-03-28 16:01:58 +01:00
parent e0c5695ab8
commit 346ea08aba

View File

@ -1,5 +1,5 @@
/* /*
* another ugly experiment * another ugly experiment (please explain)
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -14,7 +14,7 @@ int verbosity;
/* --------------------------------------------------------------- */ /* --------------------------------------------------------------- */
int triplane_muxer(FloatImg *sr, FloatImg *sg, FloatImg *sb, int triplane_muxer(FloatImg *sr, FloatImg *sg, FloatImg *sb,
FloatImg *dst, int flages) FloatImg *dst, int flags)
{ {
int foo; int foo;
int sz; int sz;
@ -55,12 +55,12 @@ if (foo) {
} }
foo = fimg_create_from_dump(fg, &img); foo = fimg_create_from_dump(fg, &img);
if (foo) { if (foo) {
fprintf(stderr, "%s: err %d loading %s\n", __func__, foo, fr); fprintf(stderr, "%s: err %d loading %s\n", __func__, foo, fg);
return -1; return -1;
} }
foo = fimg_create_from_dump(fb, &imb); foo = fimg_create_from_dump(fb, &imb);
if (foo) { if (foo) {
fprintf(stderr, "%s: err %d loading %s\n", __func__, foo, fr); fprintf(stderr, "%s: err %d loading %s\n", __func__, foo, fb);
return -1; return -1;
} }