Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1010 → Rev 999

/uspace/trunk/libc/generic/io/print.c
203,8 → 203,7
counter += retval;
break;
case 'c':
c = va_arg(ap, unsigned long);
if ((retval = putnchars(&c, sizeof(char))) == EOF) {
if ((retval = putnchars((char *)&va_arg(ap, unsigned long), sizeof(char))) == EOF) {
return -counter;
};
/uspace/trunk/libc/generic/io/io.c
67,10 → 67,6
{
size_t count;
if (str == NULL) {
return putnchars("(NULL)",6 );
}
 
for (count = 0; str[count] != 0; count++);
if (write(1, (void * ) str, count) == count) {
return 0;