xref: /netbsd-src/distrib/utils/libhack/fmtcheck.c (revision ae082add65442546470c0ba499a860ee89eed305)
1 /*	$NetBSD: fmtcheck.c,v 1.2 2022/04/14 15:51:29 martin Exp $	*/
2 #include <stdio.h>
3 const char *
4 fmtcheck(const char *a, const char *b)
5 {
6 	return a ? a : b;
7 }
8