summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2003-03-19 01:24:21 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2003-03-19 01:24:21 +0000
commit8bcce9f25731bac8b027be529cfa77f08ed785a7 (patch)
treeb17a556f7197ee6acb6858ae2c9fca19f3f9a7f8
parentac503838cd697e7700c1805115e5a09ac48db32a (diff)
Return 0 on success, rather than falling off the end of a function prototyped
as returning int.
-rw-r--r--gnu/usr.sbin/mkhybrid/src/desktop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.sbin/mkhybrid/src/desktop.c b/gnu/usr.sbin/mkhybrid/src/desktop.c
index 9dd5ef4aa5d..50c9bd1c5fc 100644
--- a/gnu/usr.sbin/mkhybrid/src/desktop.c
+++ b/gnu/usr.sbin/mkhybrid/src/desktop.c
@@ -129,5 +129,6 @@ make_desktop(hfsvol *vol, int end)
/* set DB file attributes */
if (hfs_setattr(vol, DF, &ent) < 0)
perr(hfs_error);
+ return 0;
}
#endif /* APPLE_HYB */