From owner-p4-projects@FreeBSD.ORG Sun Apr 16 00:03:36 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4B38F16A404; Sun, 16 Apr 2006 00:03:36 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A0DC16A401 for ; Sun, 16 Apr 2006 00:03:36 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0C1A43D46 for ; Sun, 16 Apr 2006 00:03:35 +0000 (GMT) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3G03Z0Z078263 for ; Sun, 16 Apr 2006 00:03:35 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3G03Zn3078260 for perforce@freebsd.org; Sun, 16 Apr 2006 00:03:35 GMT (envelope-from jb@freebsd.org) Date: Sun, 16 Apr 2006 00:03:35 GMT Message-Id: <200604160003.k3G03Zn3078260@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 95372 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Apr 2006 00:03:36 -0000 http://perforce.freebsd.org/chv.cgi?CH=95372 Change 95372 by jb@jb_freebsd2 on 2006/04/16 00:02:38 Compatibility cruft. Affected files ... .. //depot/projects/dtrace/src/contrib/opensolaris/tools/ctf/dump/dump.c#2 edit Differences ... ==== //depot/projects/dtrace/src/contrib/opensolaris/tools/ctf/dump/dump.c#2 (text) ==== @@ -27,7 +27,9 @@ #pragma ident "@(#)dump.c 1.12 05/06/08 SMI" #include +# if defined(sun) #include +#endif #include #include @@ -767,6 +769,9 @@ static int print_usage(FILE *fp, int verbose) { +#if !defined(sun) +#define getpname getprogname +#endif (void) fprintf(fp, "Usage: %s [-dfhlsSt] [-u file] file\n", getpname()); if (verbose) {