summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86Configure.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-05-20 10:26:56 +1000
committerKeith Packard <keithp@keithp.com>2010-05-19 22:22:54 -0700
commitc620a1c0a4ca564e778cce019dd30046c6969956 (patch)
tree4c1ee843e4a17594d41c61ac274fcf8c1a6879c7 /hw/xfree86/common/xf86Configure.c
parent8b6c1809c09f832051327d86e1a25dc0ec5cc878 (diff)
xfree86: fix typo in optionTypeToSting.
Because we don't want anyone to get hurt. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw/xfree86/common/xf86Configure.c')
-rw-r--r--hw/xfree86/common/xf86Configure.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/common/xf86Configure.c b/hw/xfree86/common/xf86Configure.c
index c590bda49..7d4c3410d 100644
--- a/hw/xfree86/common/xf86Configure.c
+++ b/hw/xfree86/common/xf86Configure.c
@@ -322,7 +322,7 @@ configureScreenSection (int screennum)
}
static const char*
-optionTypeToSting(OptionValueType type)
+optionTypeToString(OptionValueType type)
{
switch (type) {
case OPTV_NONE:
@@ -397,7 +397,7 @@ configureDeviceSection (int screennum)
const char *prefix = " #Option ";
const char *middle = " \t# ";
const char *suffix = "\n";
- const char *opttype = optionTypeToSting(p->type);
+ const char *opttype = optionTypeToString(p->type);
char *optname;
int len = strlen(ptr->dev_comment) + strlen(prefix) +
strlen(middle) + strlen(suffix) + 1;