bin/iroster: Fix format strings through B_PRI macros

This commit is contained in:
Alexander von Gluck IV
2015-07-19 09:31:22 -05:00
parent 46e1214196
commit 0469da76ba
+2 -2
View File
@@ -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);