Fixed typo

This commit is contained in:
Abramo Bagnara 2000-08-24 17:58:14 +00:00
parent 244653df61
commit 4740b37b37

View file

@ -783,10 +783,10 @@ static int _snd_config_save_leaf(snd_config_t *n, FILE *fp,
unsigned int k;
switch (n->type) {
case SND_CONFIG_TYPE_INTEGER:
printf("%ld", n->u.integer);
fprintf(fp, "%ld", n->u.integer);
break;
case SND_CONFIG_TYPE_REAL:
printf("%16g", n->u.real);
fprintf(fp, "%16g", n->u.real);
break;
case SND_CONFIG_TYPE_STRING:
quoted_print(n->u.string, fp);