bin/iroster: Fix format strings through B_PRI macros
This commit is contained in:
+2
-2
@@ -52,7 +52,7 @@ static void start_device(const char *name)
|
|||||||
printf("Error finding device \"%s\"\n", name);
|
printf("Error finding device \"%s\"\n", name);
|
||||||
}
|
}
|
||||||
else if ((status = device->Start()) != B_OK) {
|
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 {
|
else {
|
||||||
printf("Started device \"%s\"\n", name);
|
printf("Started device \"%s\"\n", name);
|
||||||
@@ -71,7 +71,7 @@ static void stop_device(const char *name)
|
|||||||
printf("Error finding device \"%s\"\n", name);
|
printf("Error finding device \"%s\"\n", name);
|
||||||
}
|
}
|
||||||
else if ((status = device->Stop()) != B_OK) {
|
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 {
|
else {
|
||||||
printf("Stopped device \"%s\"\n", name);
|
printf("Stopped device \"%s\"\n", name);
|
||||||
|
|||||||
Reference in New Issue
Block a user