Changeset 8a637a4 in mainline for uspace/srv/audio/hound/hound.c


Ignore:
Timestamp:
2015-09-30T17:47:41Z (9 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/hound.c

    ra955fcc r8a637a4  
    267267                if (dev->id == id) {
    268268                        log_debug("Device with id %zu is already present", id);
    269                         return EEXISTS;
     269                        return EEXIST;
    270270                }
    271271        }
     
    274274        if (dev) {
    275275                log_debug("Device with name %s is already present", name);
    276                 return EEXISTS;
     276                return EEXIST;
    277277        }
    278278
     
    341341                log_debug("Source by that name already exists");
    342342                fibril_mutex_unlock(&hound->list_guard);
    343                 return EEXISTS;
     343                return EEXIST;
    344344        }
    345345        list_append(&source->link, &hound->sources);
     
    365365                log_debug("Sink by that name already exists");
    366366                fibril_mutex_unlock(&hound->list_guard);
    367                 return EEXISTS;
     367                return EEXIST;
    368368        }
    369369        list_append(&sink->link, &hound->sinks);
Note: See TracChangeset for help on using the changeset viewer.