summaryrefslogtreecommitdiffstats
path: root/progs/rbug/bin_to_bmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/rbug/bin_to_bmp.c')
-rw-r--r--progs/rbug/bin_to_bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/rbug/bin_to_bmp.c b/progs/rbug/bin_to_bmp.c
index 18dd57b0349..6e9b162a6f7 100644
--- a/progs/rbug/bin_to_bmp.c
+++ b/progs/rbug/bin_to_bmp.c
@@ -74,7 +74,7 @@ static void dump(unsigned width, unsigned height,
rgba = MALLOC(dst_size);
}
- util_snprintf(filename, 512, "%s.bmp", pf_name(src_format));
+ util_snprintf(filename, 512, "%s.bmp", util_format_name(src_format));
if (util_format_is_compressed(src_format)) {
debug_printf("skipping: %s\n", filename);