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>
This commit is contained in:
Peter Hutterer 2010-05-20 10:26:56 +10:00 committed by Keith Packard
parent 8b6c1809c0
commit c620a1c0a4

View File

@ -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;