Commit 853a4902 authored by Pekka Pessi's avatar Pekka Pessi

msg_mclass.c: use EEXIST instead of EEXISTS

darcs-hash:20061211160437-65a35-357cff97eaeeed240684e23bd3ed39aaa3be7286.gz
parent 9a5e98fd
......@@ -171,7 +171,7 @@ int msg_mclass_insert_header(msg_mclass_t *mc,
}
if (msg_hclass_offset(mc, NULL, hc))
return (void)(errno = EEXISTS), -1;
return (void)(errno = EEXIST), -1;
if (offset == 0)
offset = mc->mc_msize, mc->mc_msize += sizeof(msg_header_t *);
......@@ -214,7 +214,7 @@ int msg_mclass_insert_with_mask(msg_mclass_t *mc,
}
if (msg_hclass_offset(mc, NULL, hc))
return (void)(errno = EEXISTS), -1;
return (void)(errno = EEXIST), -1;
if (offset == 0)
offset = mc->mc_msize, mc->mc_msize += sizeof(msg_header_t *);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment