Module Name: src
Committed By: pgoyette
Date: Thu May 7 06:23:23 UTC 2015
Modified Files:
src/tests/include: t_paths.c
Log Message:
Use correcet variable name when printing the error code.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/tests/include/t_paths.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/include/t_paths.c
diff -u src/tests/include/t_paths.c:1.15 src/tests/include/t_paths.c:1.16
--- src/tests/include/t_paths.c:1.15 Thu May 7 01:35:35 2015
+++ src/tests/include/t_paths.c Thu May 7 06:23:23 2015
@@ -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_BODY(paths, tc)
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 */