From 0469da76ba871c930f81ff7e92b2772e7a359db4 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Sun, 19 Jul 2015 09:31:22 -0500 Subject: [PATCH] bin/iroster: Fix format strings through B_PRI macros --- src/bin/iroster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/iroster.cpp b/src/bin/iroster.cpp index 53d7cdf421..023e9a8d83 100644 --- a/src/bin/iroster.cpp +++ b/src/bin/iroster.cpp @@ -52,7 +52,7 @@ static void start_device(const char *name) printf("Error finding device \"%s\"\n", name); } else if ((status = device->Start()) != B_OK) { - printf("Error starting device \"%s\" (%ld)\n", name, status); + printf("Error starting device \"%s\" (%" B_PRId32 ")\n", name, status); } else { printf("Started device \"%s\"\n", name); @@ -71,7 +71,7 @@ static void stop_device(const char *name) printf("Error finding device \"%s\"\n", name); } else if ((status = device->Stop()) != B_OK) { - printf("Error stopping device \"%s\" (%ld)\n", name, status); + printf("Error stopping device \"%s\" (%" B_PRId32 ")\n", name, status); } else { printf("Stopped device \"%s\"\n", name);