Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/lib/libc/stdlib Pullup 1.7 [releng]:
details: https://anonhg.NetBSD.org/src/rev/da7a816d309e
branches: netbsd-1-5
changeset: 489833:da7a816d309e
user: tv <tv%NetBSD.org@localhost>
date: Tue Oct 17 22:07:00 2000 +0000
description:
Pullup 1.7 [releng]:
Correct format mismatch for field widths
diffstat:
lib/libc/stdlib/getopt_long.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r a27e2449bc4f -r da7a816d309e lib/libc/stdlib/getopt_long.c
--- a/lib/libc/stdlib/getopt_long.c Tue Oct 17 21:49:33 2000 +0000
+++ b/lib/libc/stdlib/getopt_long.c Tue Oct 17 22:07:00 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: getopt_long.c,v 1.6.2.1 2000/08/25 17:17:35 thorpej Exp $ */
+/* $NetBSD: getopt_long.c,v 1.6.2.2 2000/10/17 22:07:00 tv Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: getopt_long.c,v 1.6.2.1 2000/08/25 17:17:35 thorpej Exp $");
+__RCSID("$NetBSD: getopt_long.c,v 1.6.2.2 2000/10/17 22:07:00 tv Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -406,7 +406,7 @@
else {
/* ambiguous abbreviation */
if (PRINT_ERROR)
- warnx(ambig, current_argv_len,
+ warnx(ambig, (int)current_argv_len,
current_argv);
optopt = 0;
return BADCH;
@@ -416,7 +416,7 @@
if (long_options[match].has_arg == no_argument
&& has_equal) {
if (PRINT_ERROR)
- warnx(noarg, current_argv_len,
+ warnx(noarg, (int)current_argv_len,
current_argv);
/*
* XXX: GNU sets optopt to val regardless of
Home |
Main Index |
Thread Index |
Old Index