Changeset 18525c5 in mainline for uspace/srv/vfs/vfs_mount.c


Ignore:
Timestamp:
2007-10-04T13:00:10Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1c38445
Parents:
116d3f6f
Message:

Tiny refinement of if-else_if-else statement in vfs_register.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_mount.c

    r116d3f6f r18525c5  
    218218        vfs_release_phone(phone);
    219219
    220         if ((rc1 == EOK) && (rc2 == EOK))
    221                 ipc_answer_fast(rid, EOK, 0, 0);
    222         else if (rc1 != EOK)
     220        if (rc2 == EOK)
    223221                ipc_answer_fast(rid, rc1, 0, 0);
     222        else if (rc1 == EOK)
     223                ipc_answer_fast(rid, rc2, 0, 0);
    224224        else
    225                 ipc_answer_fast(rid, rc2, 0, 0);
     225                ipc_answer_fast(rid, rc1, 0, 0);
    226226}
    227227
Note: See TracChangeset for help on using the changeset viewer.