Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/mount return exit code from mount_XXXX again
details: https://anonhg.NetBSD.org/src/rev/8e202c5dfe36
branches: trunk
changeset: 778710:8e202c5dfe36
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Mon Apr 09 15:50:20 2012 +0000
description:
return exit code from mount_XXXX again
diffstat:
sbin/mount/mount.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 881dfabc5798 -r 8e202c5dfe36 sbin/mount/mount.c
--- a/sbin/mount/mount.c Mon Apr 09 14:44:01 2012 +0000
+++ b/sbin/mount/mount.c Mon Apr 09 15:50:20 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount.c,v 1.95 2012/04/07 04:13:06 christos Exp $ */
+/* $NetBSD: mount.c,v 1.96 2012/04/09 15:50:20 mlelstv Exp $ */
/*
* Copyright (c) 1980, 1989, 1993, 1994
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)mount.c 8.25 (Berkeley) 5/8/95";
#else
-__RCSID("$NetBSD: mount.c,v 1.95 2012/04/07 04:13:06 christos Exp $");
+__RCSID("$NetBSD: mount.c,v 1.96 2012/04/09 15:50:20 mlelstv Exp $");
#endif
#endif /* not lint */
@@ -325,7 +325,8 @@
}
#endif
- return 0;
+ exit(rval);
+ /* NOTREACHED */
}
int
Home |
Main Index |
Thread Index |
Old Index