enno needs more sleep fixes

This commit is contained in:
Christian Schlittchen 2006-02-12 09:22:37 +00:00
parent 8265c9ea7f
commit fdc07aa0ea
1 changed files with 3 additions and 2 deletions

View File

@ -2145,7 +2145,7 @@ a_readchars(attrib * a, FILE * f)
}
for (i=0;i!=4;++i) {
int c;
fscanf("%d", &c);
fscanf(f, "%d", &c);
a->data.ca[i] = (char)c;
}
return AT_READ_OK;
@ -2154,9 +2154,10 @@ a_readchars(attrib * a, FILE * f)
void
a_writechars(const attrib * a, FILE * f)
{
int i;
for (i=0;i!=4;++i) {
int c = a->data.ca[i];
fprintf("%d ", &c);
fprintf(f, "%d ", c);
}
}