X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=osl_core.h;h=a23bb3d9d0652dbc8811032240a14fba7db05ce4;hp=599d22da6146c8cb88c5330a1a347c4b3b88c756;hb=b18a5fbb286422395ae52b78dcf0ceb2c3d070c8;hpb=b169ef85673c208ff283217e4cde2f5816e69518 diff --git a/osl_core.h b/osl_core.h index 599d22da..a23bb3d9 100644 --- a/osl_core.h +++ b/osl_core.h @@ -476,14 +476,14 @@ static inline char *disk_storage_name_of_hash(const struct osl_table *t, HASH_TY * \param old_path The source path. * \param new_path The destination path. * - * \return positive in success, \p -E_RENAME on errors. + * \return Standard. * * \sa rename(2). */ static inline int para_rename(const char *old_path, const char *new_path) { if (rename(old_path, new_path) < 0) - return -E_RENAME; + return -ERRNO_TO_PARA_ERROR(errno); return 1; }