Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_ops.c

    ree3f6f6 r2463df9  
    930930        /* Parse mount options. */
    931931        char *mntopts = (char *) opts;
     932        char *saveptr;
    932933        char *opt;
    933         while ((opt = str_tok(mntopts, " ,", &mntopts)) != NULL) {
     934        while ((opt = strtok_r(mntopts, " ,", &saveptr)) != NULL) {
    934935                if (str_cmp(opt, "wtcache") == 0)
    935936                        cmode = CACHE_MODE_WT;
    936937                else if (str_cmp(opt, "nolfn") == 0)
    937938                        instance->lfn_enabled = false;
     939                mntopts = NULL;
    938940        }
    939941
Note: See TracChangeset for help on using the changeset viewer.