From b23348987e6b5acbb3254b15d990e71aba8ebcec Mon Sep 17 00:00:00 2001 From: kn Date: Wed, 12 Oct 2022 09:23:45 +0000 Subject: [PATCH] Fix -Wreturn-type OK miod --- sys/arch/macppc/stand/ofdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/macppc/stand/ofdev.c b/sys/arch/macppc/stand/ofdev.c index 066403f2a41..75cabb91e80 100644 --- a/sys/arch/macppc/stand/ofdev.c +++ b/sys/arch/macppc/stand/ofdev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofdev.c,v 1.27 2022/09/05 10:03:50 kn Exp $ */ +/* $OpenBSD: ofdev.c,v 1.28 2022/10/12 09:23:45 kn Exp $ */ /* $NetBSD: ofdev.c,v 1.1 1997/04/16 20:29:20 thorpej Exp $ */ /* @@ -127,6 +127,7 @@ devclose(struct open_file *of) OF_close(op->handle); free(op, sizeof *op); + return 0; } struct devsw devsw[1] = { -- 2.20.1