From b2af35bc2d83d706fe5c359378cf03d4914c2611 Mon Sep 17 00:00:00 2001 From: oster Date: Sun, 15 Aug 1999 03:18:19 +0000 Subject: [PATCH] rf_MakeConfig succeeds only if it returns 0, not if it returns values 0 or greater. --- sbin/raidctl/raidctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/raidctl/raidctl.c b/sbin/raidctl/raidctl.c index 18efc5d0d3da..856ff3dbd826 100644 --- a/sbin/raidctl/raidctl.c +++ b/sbin/raidctl/raidctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: raidctl.c,v 1.8 1999/08/15 03:15:00 oster Exp $ */ +/* $NetBSD: raidctl.c,v 1.9 1999/08/15 03:18:19 oster Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -337,7 +337,7 @@ rf_configure(fd,config_file,force) void *generic; RF_Config_t cfg; - if (rf_MakeConfig( config_file, &cfg ) < 0) { + if (rf_MakeConfig( config_file, &cfg ) != 0) { fprintf(stderr,"%s: unable to create RAIDframe %s\n", __progname, "configuration structure\n"); exit(1);