Sync usage with man page.
[netbsd-mini2440.git] / dist / ipf / lib / printifname.c
blob280f9b21ac0b66b392c795da3a08021c5b77a30e
1 /* $NetBSD$ */
3 /*
4 * Copyright (C) 2002 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
8 * Id: printifname.c,v 1.2.4.1 2006/06/16 17:21:12 darrenr Exp
9 */
11 #include "ipf.h"
13 void printifname(format, name, ifp)
14 char *format, *name;
15 void *ifp;
17 printf("%s%s", format, name);
18 if ((ifp == NULL) && strcmp(name, "-") && strcmp(name, "*"))
19 printf("(!)");