From ff638986da5a5e6890a346da7a63901b84401b51 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 6 Dec 1995 20:34:15 +0000 Subject: (main): Change uses of the INDEX field in argp_state structures to use NEXT instead. Fix default prefix-printing test. --- utils/storeinfo.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'utils/storeinfo.c') diff --git a/utils/storeinfo.c b/utils/storeinfo.c index 90fc8296..a7f9b3a4 100644 --- a/utils/storeinfo.c +++ b/utils/storeinfo.c @@ -176,9 +176,8 @@ main(int argc, char *argv[]) void info (mach_port_t file, char *source, error_t err) { if (print_prefix < 0) - /* By default, only print a filename prefix if there are multiple - files. */ - print_prefix = state->argc != state->index; + /* By default, only print filename prefixes for multiple files. */ + print_prefix = state->next < state->argc; if (what == 0) what = W_ALL; if (file == MACH_PORT_NULL) -- cgit v1.2.3