summaryrefslogtreecommitdiff
path: root/distrib/utils/libhack/fmtcheck.c
blob: 079cb1132007d3bef4c5b5640384e09ce2bac68a (plain)
1
2
3
4
5
6
7
/*	$NetBSD: fmtcheck.c,v 1.2 2022/04/14 15:51:29 martin Exp $	*/
#include <stdio.h>
const char *
fmtcheck(const char *a, const char *b)
{
	return a ? a : b;
}