Changeset 15d0046 in mainline for uspace/srv/fs/fat/fat_ops.c


Ignore:
Timestamp:
2014-09-12T13:22:33Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9b20126
Parents:
8db09e4 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

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

    r8db09e4 r15d0046  
    930930        /* Parse mount options. */
    931931        char *mntopts = (char *) opts;
    932         char *saveptr;
    933932        char *opt;
    934         while ((opt = strtok_r(mntopts, " ,", &saveptr)) != NULL) {
     933        while ((opt = str_tok(mntopts, " ,", &mntopts)) != NULL) {
    935934                if (str_cmp(opt, "wtcache") == 0)
    936935                        cmode = CACHE_MODE_WT;
    937936                else if (str_cmp(opt, "nolfn") == 0)
    938937                        instance->lfn_enabled = false;
    939                 mntopts = NULL;
    940938        }
    941939
Note: See TracChangeset for help on using the changeset viewer.