summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-11-25 18:56:49 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-11-25 18:56:49 +0000
commit13f3b24babba61e4d8b10661accc032169f04645 (patch)
treefe3b46b4c95c20173bc14219d482b6f70c574f10
parent5580df729f4d3b2498a6dae19dac938f06bf602d (diff)
sna: Correct plurization of axis for modesetting log message
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_display.c2
-rw-r--r--src/sna/sna_display_fake.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 165b9e91..7a92fb88 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -1490,7 +1490,7 @@ static const char *reflection_to_str(Rotation rotation)
case 0: return "none";
case RR_Reflect_X: return "X axis";
case RR_Reflect_Y: return "Y axis";
- case RR_Reflect_X | RR_Reflect_Y: return "X and Y axis";
+ case RR_Reflect_X | RR_Reflect_Y: return "X and Y axes";
default: return "invalid";
}
}
diff --git a/src/sna/sna_display_fake.c b/src/sna/sna_display_fake.c
index cecedaaa..c709d99c 100644
--- a/src/sna/sna_display_fake.c
+++ b/src/sna/sna_display_fake.c
@@ -75,7 +75,7 @@ static const char *reflection_to_str(Rotation rotation)
case 0: return "none";
case RR_Reflect_X: return "X axis";
case RR_Reflect_Y: return "Y axis";
- case RR_Reflect_X | RR_Reflect_Y: return "X and Y axis";
+ case RR_Reflect_X | RR_Reflect_Y: return "X and Y axes";
default: return "invalid";
}
}