mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 11:41:07 +00:00
tst-spawn-cgroup.c: Fix argument order of UNSUPPORTED message.
The arguments for "expected" and "got" are mismatched. Furthermore this patch is dumping both values as hex. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> Reviewed-by: Florian Weimer <fweimer@redhat.com>
This commit is contained in:
parent
1c1083a3e4
commit
f5677d9ceb
@ -136,9 +136,9 @@ create_new_cgroup (char **newcgroup)
|
||||
}
|
||||
|
||||
if (!F_TYPE_EQUAL (fs.f_type, CGROUP2_SUPER_MAGIC))
|
||||
FAIL_UNSUPPORTED ("%s is not a cgroupv2 (expected %jx, got %jd)",
|
||||
CGROUPFS, (intmax_t) fs.f_type,
|
||||
(intmax_t) CGROUP2_SUPER_MAGIC);
|
||||
FAIL_UNSUPPORTED ("%s is not a cgroupv2 (expected %#jx, got %#jx)",
|
||||
CGROUPFS, (intmax_t) CGROUP2_SUPER_MAGIC,
|
||||
(intmax_t) fs.f_type);
|
||||
|
||||
char *cgroup = get_cgroup ();
|
||||
TEST_VERIFY_EXIT (cgroup != NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user