Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sandbox:master commit in: tests/
Date: Mon, 04 Jul 2011 23:06:46
Message-Id: 1cc78eb4297c3135f5b7be826183a0a8b16bc2f9.vapier@gentoo
1 commit: 1cc78eb4297c3135f5b7be826183a0a8b16bc2f9
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 4 21:06:21 2011 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 4 21:06:21 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=commit;h=1cc78eb4
7
8 tests: use %#x instead of 0x%x
9
10 Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
11
12 ---
13 tests/open-0.c | 2 +-
14 tests/openat-0.c | 2 +-
15 tests/openat64-0.c | 2 +-
16 3 files changed, 3 insertions(+), 3 deletions(-)
17
18 diff --git a/tests/open-0.c b/tests/open-0.c
19 index 94a22ad..dfae46d 100644
20 --- a/tests/open-0.c
21 +++ b/tests/open-0.c
22 @@ -1,6 +1,6 @@
23 #define FUNC open
24 #define SFUNC "open"
25 -#define FUNC_STR "\"%s\", 0x%x, %o"
26 +#define FUNC_STR "\"%s\", %#x, %o"
27 #define FUNC_IMP file, flags, mode
28 #define ARG_CNT 3
29 #define ARG_USE "<file> <flags> <mode>"
30
31 diff --git a/tests/openat-0.c b/tests/openat-0.c
32 index 360b9ed..7978e11 100644
33 --- a/tests/openat-0.c
34 +++ b/tests/openat-0.c
35 @@ -1,7 +1,7 @@
36 #define CONFIG HAVE_OPENAT
37 #define FUNC openat
38 #define SFUNC "openat"
39 -#define FUNC_STR "%i, \"%s\", 0x%x, %o"
40 +#define FUNC_STR "%i, \"%s\", %#x, %o"
41 #define FUNC_IMP dirfd, file, flags, mode
42 #define ARG_CNT 4
43 #define ARG_USE "<dirfd> <file> <flags> <mode>"
44
45 diff --git a/tests/openat64-0.c b/tests/openat64-0.c
46 index a471b29..9c707f6 100644
47 --- a/tests/openat64-0.c
48 +++ b/tests/openat64-0.c
49 @@ -1,7 +1,7 @@
50 #define CONFIG HAVE_OPENAT64
51 #define FUNC openat64
52 #define SFUNC "openat64"
53 -#define FUNC_STR "%i, \"%s\", 0x%x, %o"
54 +#define FUNC_STR "%i, \"%s\", %#x, %o"
55 #define FUNC_IMP dirfd, file, flags, mode
56 #define ARG_CNT 4
57 #define ARG_USE "<dirfd> <file> <flags> <mode>"