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