Changeset aaf9789c in mainline for uspace/lib/c/generic/uuid.c


Ignore:
Timestamp:
2019-02-11T23:08:42Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
db29c34
Parents:
d5a89a3
Message:

syntax correction according make ccheck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/uuid.c

    rd5a89a3 raaf9789c  
    6767        uuid->b[6] = (uuid->b[6] & 0x4F) | 0x40;
    6868        uuid->b[8] = (uuid->b[8] & 0xBF) | 0xB0;
    69        
     69
    7070        rc = EOK;
    7171error:
     
    183183        if (str == NULL)
    184184                return ENOMEM;
    185        
     185
    186186        const char *format = "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x";
    187187        if (uppercase)
     
    189189
    190190        int ret = snprintf(str, size, format, uuid->b[0], uuid->b[1], uuid->b[2], uuid->b[3], uuid->b[4], uuid->b[5], uuid->b[6], uuid->b[7], uuid->b[8], uuid->b[9], uuid->b[10], uuid->b[11], uuid->b[12], uuid->b[13], uuid->b[14], uuid->b[15]);
    191        
     191
    192192        if (ret != 36)
    193193                return EINVAL;
Note: See TracChangeset for help on using the changeset viewer.