Changeset 8a637a4 in mainline for uspace/app


Ignore:
Timestamp:
2015-09-30T17:47:41Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f1f7584
Parents:
a955fcc
Message:

remove EEXISTS in favor of EEXIST

Location:
uspace/app
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/errors.h

    ra955fcc r8a637a4  
    4242#define CL_ENOTSUP 6
    4343#define CL_EEXEC   7
    44 #define CL_EEXISTS 8
     44#define CL_EEXIST  8
    4545#define CL_ETOOBIG 9
    4646
  • uspace/app/trace/errors.c

    ra955fcc r8a637a4  
    4646        [-EPERM]        = { "EPERM",            "Permission denied" },
    4747        [-EHANGUP]      = { "EHANGUP",          "Answerbox closed connection" },
    48         [-EEXISTS]      = { "EEXISTS",          "Entry already exists" },
     48        [-EEXIST]       = { "EEXIST",           "Entry already exists" },
    4949        [-EBADMEM]      = { "EBADMEM",          "Bad memory pointer" },
    5050
  • uspace/app/untar/main.c

    ra955fcc r8a637a4  
    104104{
    105105        int rc = mkdir(header->filename, 0755);
    106         if ((rc == EEXIST) || (rc == EEXISTS)) {
     106        if (rc == EEXIST) {
    107107                // printf("Note: directory %s already exists.\n", header->filename);
    108108                rc = EOK;
  • uspace/app/vuhid/device.c

    ra955fcc r8a637a4  
    123123        /* Already used interface. */
    124124        if (iface->vuhid_data != NULL) {
    125                 return EEXISTS;
     125                return EEXIST;
    126126        }
    127127
Note: See TracChangeset for help on using the changeset viewer.