From d7d3d712f01147bfd29b858c8737f26ef0c60367 Mon Sep 17 00:00:00 2001 From: maxv Date: Tue, 7 Jan 2020 06:10:18 +0000 Subject: Fix big bugs. --- sys/dev/raidframe/rf_compat32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/raidframe') diff --git a/sys/dev/raidframe/rf_compat32.c b/sys/dev/raidframe/rf_compat32.c index d31fbb0f30a..ea7e6752267 100644 --- a/sys/dev/raidframe/rf_compat32.c +++ b/sys/dev/raidframe/rf_compat32.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_compat32.c,v 1.7 2019/12/12 02:15:43 pgoyette Exp $ */ +/* $NetBSD: rf_compat32.c,v 1.8 2020/01/07 06:10:18 maxv Exp $ */ /* * Copyright (c) 2017 Matthew R. Green @@ -101,7 +101,7 @@ rf_config_netbsd32(struct raid_softc *rs, void *data) k_cfg = RF_Malloc(sizeof(*k_cfg)); if (k_cfg == NULL) { RF_Free(k_cfg32, sizeof(RF_Config_t32)); - RF_Free(k_cfg, sizeof(RF_Config_t)); + return ENOMEM; } k_cfg->numCol = k_cfg32->numCol; k_cfg->numSpare = k_cfg32->numSpare; -- cgit select> NetBSD fork for lockdoc analysismerlin@scholz.ruhr
summaryrefslogtreecommitdiff
path: root/lib/libterminfo/genhash
AgeCommit message (Collapse)Author
2017-01-11Fix some off by one issues with arraycount ..thanks coypu.roy
2011-11-02Now that nbperf can generate the same file using the -p option,roy
there is no longer a need to store these files in CVS.
2010-10-12replace `` with $(). Hopefully with enough examples around people willchristos
forget about ``.
2010-03-03Abort an error.roy
2010-02-04Allow hash to be build on other hosts.roy
2010-02-04Fix build issues on other hosts.roy
2010-02-03Store our generated files in CVS and remove nbperf from the toolchain.roy
This allows us to build consistent libs without an ever changing hash.
2010-02-03Fix some typos and spelling errors.snj
2010-02-03Import my terminfo implementation.roy
This uses the ncurses terminal definitions. OK: core@, jdc@