Change-Id: I39a2dd8bb4f1f6654a65f9fab8d5ac74439a4410
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <common/compat/tid.h>
#include <common/macros.h>
#include <common/compat/tid.h>
#include <common/macros.h>
- debug_printf("Initial %s ns inode number: %lu\n", ns_str, ns1);
+ debug_printf("Initial %s ns inode number: %" PRIuMAX "\n", ns_str, (uintmax_t) ns1);
/* Wait on synchronization before unshare. */
if (before_unshare_wait_file_path) {
/* Wait on synchronization before unshare. */
if (before_unshare_wait_file_path) {
- debug_printf("Post unshare %s ns inode number: %lu\n", ns_str, ns2);
+ debug_printf("Post unshare %s ns inode number: %" PRIuMAX "\n", ns_str, (uintmax_t) ns2);
/* Signal that the unshare call is completed. */
if (after_unshare_signal_file_path) {
/* Signal that the unshare call is completed. */
if (after_unshare_signal_file_path) {
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <common/compat/tid.h>
#include <common/macros.h>
#include <common/compat/tid.h>
#include <common/macros.h>
- debug_printf("Initial %s ns inode number: %lu\n", ns_str, ns1);
+ debug_printf("Initial %s ns inode number: %" PRIuMAX "\n", ns_str, (uintmax_t) ns1);
for (i = 0; nr_iter < 0 || i < nr_iter; i++) {
tracepoint(tp, tptest, ns1);
for (i = 0; nr_iter < 0 || i < nr_iter; i++) {
tracepoint(tp, tptest, ns1);
- debug_printf("Post unshare %s ns inode number: %lu\n", ns_str, ns2);
+ debug_printf("Post unshare %s ns inode number: %" PRIuMAX "\n", ns_str, (uintmax_t) ns2);
/*
* Signal that we emited the first event group and that the
/*
* Signal that we emited the first event group and that the