diff --git a/sway/input/seat.c b/sway/input/seat.c
index 1b25419b..907c610a 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -168,7 +168,7 @@ void sway_seat_configure_xcursor(struct sway_seat *seat) {
 				output->scale);
 
 		sway_assert(!result,
-			"Cannot load xcursor theme for output '%s' with scale %d",
+			"Cannot load xcursor theme for output '%s' with scale %f",
 			output->name, output->scale);
 	}