s/unitialized/uninitialized/

This commit is contained in:
msaitoh 2024-05-12 23:55:57 +00:00
parent 90016d0b5b
commit 51508882aa
4 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: HACKS,v 1.243 2024/05/05 23:08:53 riastradh Exp $ # $NetBSD: HACKS,v 1.244 2024/05/12 23:55:57 msaitoh Exp $
# #
# This file is intended to document workarounds for currently unsolved # This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs. # (mostly) compiler bugs.
@ -597,7 +597,7 @@ port vax
file src/games/gomoku/Makefile : 1.12 file src/games/gomoku/Makefile : 1.12
descr descr
pickmove.c crashes with -O2, warns about ovi.o_intersect being pickmove.c crashes with -O2, warns about ovi.o_intersect being
unitialized with -O1, works with -O0 uninitialized with -O1, works with -O0
kcah kcah
hack gdtoa/misc.c miscompile hack gdtoa/misc.c miscompile

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ptrace.2,v 1.85 2020/05/14 13:40:49 wiz Exp $ .\" $NetBSD: ptrace.2,v 1.86 2024/05/12 23:55:57 msaitoh Exp $
.\" .\"
.\" This file is in the public domain. .\" This file is in the public domain.
.Dd May 14, 2020 .Dd May 14, 2020
@ -907,7 +907,7 @@ Other components (fields) will be ignored.
The The
.Fa xs_xstate_bv .Fa xs_xstate_bv
field specifies whether component state should be set to provided field specifies whether component state should be set to provided
values (when 1) or reset to unitialized (when 0). values (when 1) or reset to uninitialized (when 0).
The request will fail if The request will fail if
.Fa xs_xstate_bv .Fa xs_xstate_bv
is not a subset of is not a subset of

View File

@ -1,4 +1,4 @@
/* $NetBSD: lfs_inode.c,v 1.28 2015/10/15 06:25:12 dholland Exp $ */ /* $NetBSD: lfs_inode.c,v 1.29 2024/05/12 23:55:57 msaitoh Exp $ */
/*- /*-
* Copyright (c) 1980, 1991, 1993, 1994 * Copyright (c) 1980, 1991, 1993, 1994
@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1991, 1993, 1994\
#if 0 #if 0
static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/1/95"; static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/1/95";
#else #else
__RCSID("$NetBSD: lfs_inode.c,v 1.28 2015/10/15 06:25:12 dholland Exp $"); __RCSID("$NetBSD: lfs_inode.c,v 1.29 2024/05/12 23:55:57 msaitoh Exp $");
#endif #endif
#endif /* not lint */ #endif /* not lint */
@ -230,7 +230,7 @@ lfs_bmap(struct lfs *fs, union lfs_dinode *idinode, daddr_t lbn)
int off=0; int off=0;
char bp[MAXBSIZE]; char bp[MAXBSIZE];
up = UNASSIGNED; /* XXXGCC -Wunitialized [sh3] */ up = UNASSIGNED; /* XXXGCC -Wuninitialized [sh3] */
if(lbn > 0 && lbn > lfs_lblkno(fs, lfs_dino_getsize(fs, idinode))) { if(lbn > 0 && lbn > lfs_lblkno(fs, lfs_dino_getsize(fs, idinode))) {
return UNASSIGNED; return UNASSIGNED;

View File

@ -1,5 +1,5 @@
/* $KAME: dccp_tfrc.c,v 1.16 2006/03/01 17:34:08 nishida Exp $ */ /* $KAME: dccp_tfrc.c,v 1.16 2006/03/01 17:34:08 nishida Exp $ */
/* $NetBSD: dccp_tfrc.c,v 1.11 2023/08/14 03:03:48 mrg Exp $ */ /* $NetBSD: dccp_tfrc.c,v 1.12 2024/05/12 23:55:58 msaitoh Exp $ */
/* /*
* Copyright (c) 2003 Nils-Erik Mattsson * Copyright (c) 2003 Nils-Erik Mattsson
@ -32,7 +32,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: dccp_tfrc.c,v 1.11 2023/08/14 03:03:48 mrg Exp $"); __KERNEL_RCSID(0, "$NetBSD: dccp_tfrc.c,v 1.12 2024/05/12 23:55:58 msaitoh Exp $");
#ifdef _KERNEL_OPT #ifdef _KERNEL_OPT
#include "opt_dccp.h" #include "opt_dccp.h"
@ -669,7 +669,7 @@ tfrc_send_packet(void *ccb, long datasize)
#ifdef TFRCDEBUG #ifdef TFRCDEBUG
if (cb->t_last_win_count.tv_sec == -1) if (cb->t_last_win_count.tv_sec == -1)
panic("TFRC - t_last_win_count unitialized (tfrc_send_packet)\n"); panic("TFRC - t_last_win_count uninitialized (tfrc_send_packet)\n");
#endif #endif
t_temp = t_now; t_temp = t_now;
timersub(&t_temp, &(cb->t_last_win_count), &t_temp); timersub(&t_temp, &(cb->t_last_win_count), &t_temp);