From c620a1c0a4ca564e778cce019dd30046c6969956 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 20 May 2010 10:26:56 +1000 Subject: [PATCH] xfree86: fix typo in optionTypeToSting. Because we don't want anyone to get hurt. Signed-off-by: Peter Hutterer Reviewed-by: Dan Nicholson Reviewed-by: Matt Turner Signed-off-by: Keith Packard --- hw/xfree86/common/xf86Configure.c | 4 ++-- 1 file 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;