Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/fs/common Test the right fd after rump_sys_open().
details: https://anonhg.NetBSD.org/src/rev/5d14c66e9dc1
branches: trunk
changeset: 761976:5d14c66e9dc1
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sat Feb 12 18:13:46 2011 +0000
description:
Test the right fd after rump_sys_open().
diffstat:
tests/fs/common/snapshot.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b6af97867fb5 -r 5d14c66e9dc1 tests/fs/common/snapshot.c
--- a/tests/fs/common/snapshot.c Sat Feb 12 17:21:38 2011 +0000
+++ b/tests/fs/common/snapshot.c Sat Feb 12 18:13:46 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: snapshot.c,v 1.5 2010/11/07 17:51:17 jmmv Exp $ */
+/* $NetBSD: snapshot.c,v 1.6 2011/02/12 18:13:46 bouyer Exp $ */
#include <sys/types.h>
#include <sys/ioctl.h>
@@ -65,7 +65,7 @@
atf_tc_fail_errno("write fail");
fssfd = rump_sys_open("/dev/rfss0", O_RDWR);
- if (fd == -1)
+ if (fssfd == -1)
atf_tc_fail_errno("cannot open fss");
makefile(BAKNAME);
memset(&fss, 0, sizeof(fss));
Home |
Main Index |
Thread Index |
Old Index