Changeset 76d0981d in mainline for uspace/lib/ext4/src/balloc.c


Ignore:
Timestamp:
2018-04-12T12:57:20Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3bacee1
Parents:
9c514be
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 18:18:43)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 12:57:20)
Message:

Use proper boolean constant in while loops.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/src/balloc.c

    r9c514be r76d0981d  
    3636
    3737#include <errno.h>
     38#include <stdbool.h>
    3839#include <stdint.h>
    3940#include "ext4/balloc.h"
     
    274275                ibmap = -1;
    275276
    276         while (1) {
     277        while (true) {
    277278                if (r == bbmap || r == ibmap)
    278279                        r++;
Note: See TracChangeset for help on using the changeset viewer.