Module Name:    src
Committed By:   dholland
Date:           Thu Dec 16 05:42:15 UTC 2010

Modified Files:
        src/usr.bin/stat: stat.c

Log Message:
Don't pass unused argument. From Doug Barton.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/usr.bin/stat/stat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/stat/stat.c
diff -u src/usr.bin/stat/stat.c:1.31 src/usr.bin/stat/stat.c:1.32
--- src/usr.bin/stat/stat.c:1.31	Thu Dec 16 05:30:16 2010
+++ src/usr.bin/stat/stat.c	Thu Dec 16 05:42:14 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: stat.c,v 1.31 2010/12/16 05:30:16 dholland Exp $ */
+/*	$NetBSD: stat.c,v 1.32 2010/12/16 05:42:14 dholland Exp $ */
 
 /*
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #if !defined(lint)
-__RCSID("$NetBSD: stat.c,v 1.31 2010/12/16 05:30:16 dholland Exp $");
+__RCSID("$NetBSD: stat.c,v 1.32 2010/12/16 05:42:14 dholland Exp $");
 #endif
 
 #if ! HAVE_NBTOOL_CONFIG_H
@@ -176,7 +176,7 @@
 
 void	usage(const char *);
 void	output(const struct stat *, const char *,
-	    const char *, int, int, int);
+	    const char *, int, int);
 int	format1(const struct stat *,	/* stat info */
 	    const char *,		/* the file name */
 	    const char *, int,		/* the format string itself */
@@ -329,7 +329,7 @@
 				    usestat ? "stat" : "lstat");
 		}
 		else
-			output(&st, argv[0], statfmt, fn, nonl, quiet);
+			output(&st, argv[0], statfmt, fn, nonl);
 
 		argv++;
 		argc--;
@@ -352,7 +352,7 @@
  */
 void
 output(const struct stat *st, const char *file,
-    const char *statfmt, int fn, int nonl, int quiet)
+    const char *statfmt, int fn, int nonl)
 {
 	int flags, size, prec, ofmt, hilo, what;
 	char buf[PATH_MAX + 4 + 1];

Reply via email to