Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/ibcs2 Little happy on the commit trigger. Actual...
details: https://anonhg.NetBSD.org/src/rev/ffd02d866b62
branches: trunk
changeset: 355427:ffd02d866b62
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Jul 29 01:14:00 2017 +0000
description:
Little happy on the commit trigger. Actually use the out label.
diffstat:
sys/compat/ibcs2/ibcs2_stat.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c12bc8e0b65e -r ffd02d866b62 sys/compat/ibcs2/ibcs2_stat.c
--- a/sys/compat/ibcs2/ibcs2_stat.c Sat Jul 29 01:05:54 2017 +0000
+++ b/sys/compat/ibcs2/ibcs2_stat.c Sat Jul 29 01:14:00 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ibcs2_stat.c,v 1.49 2017/07/29 01:05:54 riastradh Exp $ */
+/* $NetBSD: ibcs2_stat.c,v 1.50 2017/07/29 01:14:00 riastradh Exp $ */
/*
* Copyright (c) 1995, 1998 Scott Bartram
* All rights reserved.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ibcs2_stat.c,v 1.49 2017/07/29 01:05:54 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ibcs2_stat.c,v 1.50 2017/07/29 01:14:00 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -203,7 +203,7 @@
mp = vp->v_mount;
sp = &mp->mnt_stat;
if ((error = VFS_STATVFS(mp, sp)) != 0)
- return (error);
+ goto out;
sp->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
error = cvt_statvfs(sp, (void *)SCARG(uap, buf),
sizeof(struct ibcs2_statvfs));
Home |
Main Index |
Thread Index |
Old Index