diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-10-12 09:23:46 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-10-12 09:23:46 +0000 |
commit | 3b8793c01d2e6323121e7176ad372f2156c74ab0 (patch) | |
tree | 04d19b90f5e6f62bde2e1d427d55b0a75d0dff53 | |
parent | 2217d25f654b7f5bc7539ce379caff8664c7605d (diff) |
Fix -Wreturn-type
OK miod
-rw-r--r-- | sys/arch/macppc/stand/ofdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
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] = { |