Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/include Use correcet variable name when printing the e...
details: https://anonhg.NetBSD.org/src/rev/ebdcf7bd5892
branches: trunk
changeset: 337995:ebdcf7bd5892
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu May 07 06:23:23 2015 +0000
description:
Use correcet variable name when printing the error code.
diffstat:
tests/include/t_paths.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e78251e7e481 -r ebdcf7bd5892 tests/include/t_paths.c
--- a/tests/include/t_paths.c Thu May 07 04:37:29 2015 +0000
+++ b/tests/include/t_paths.c Thu May 07 06:23:23 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_paths.c,v 1.15 2015/05/07 01:35:35 pgoyette Exp $ */
+/* $NetBSD: t_paths.c,v 1.16 2015/05/07 06:23:23 pgoyette Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_paths.c,v 1.15 2015/05/07 01:35:35 pgoyette Exp $");
+__RCSID("$NetBSD: t_paths.c,v 1.16 2015/05/07 06:23:23 pgoyette Exp $");
#include <sys/param.h>
#include <sys/stat.h>
@@ -160,7 +160,7 @@
atf_tc_fail("UID %u failed to open %s, "
"error %d", (uint32_t)uid,
- paths[i].path, error);
+ paths[i].path, errno);
}
case EBUSY: /* FALLTHROUGH */
Home |
Main Index |
Thread Index |
Old Index