diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index e2e872e645e9..5a3e52cc4c0d 100644 --- a/usr.bin/fstat/fstat.c +++ b/usr.bin/fstat/fstat.c @@ -1,4 +1,4 @@ -/* $NetBSD: fstat.c,v 1.85 2008/07/23 00:57:53 lukem Exp $ */ +/* $NetBSD: fstat.c,v 1.86 2008/09/09 00:56:23 gmcgarry Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\ #if 0 static char sccsid[] = "@(#)fstat.c 8.3 (Berkeley) 5/2/95"; #else -__RCSID("$NetBSD: fstat.c,v 1.85 2008/07/23 00:57:53 lukem Exp $"); +__RCSID("$NetBSD: fstat.c,v 1.86 2008/09/09 00:56:23 gmcgarry Exp $"); #endif #endif /* not lint */ @@ -977,7 +977,7 @@ static void misctrans(struct file *file) { - PREFIX(file->f_type); + PREFIX((int)file->f_type); pmisc(file, dtypes[file->f_type]); }