Changes in / [74c8f344:7da90cd] in mainline


Ignore:
Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/klog/klog.c

    r74c8f344 r7da90cd  
    118118        }
    119119       
    120         log = fopen(LOG_FNAME, "a");
     120        /*
     121         * Mode "a" would be definitively much better here, but it is
     122         * not well supported by the FAT driver.
     123         */
     124        log = fopen(LOG_FNAME, "w");
    121125        if (log == NULL)
    122126                printf("%s: Unable to create log file %s (%s)\n", NAME, LOG_FNAME,
  • uspace/lib/c/generic/io/io.c

    r74c8f344 r7da90cd  
    173173                }
    174174                *flags = (O_APPEND | O_CREAT) | (plus ? O_RDWR : O_WRONLY);
    175                 break;
    176175        default:
    177176                errno = EINVAL;
Note: See TracChangeset for help on using the changeset viewer.