Skip to content
Snippets Groups Projects
Commit a993b160 authored by Raymond Toy's avatar Raymond Toy
Browse files

Use CHAR_BIT instead of 8.

parent 28741656
Branches
Tags
No related merge requests found
......@@ -175,7 +175,7 @@ copy_sigmask(sigset_t *dst, sigset_t *src)
#ifndef __linux__
*dst = *src;
#else
memcpy(dst, src, NSIG / 8);
memcpy(dst, src, NSIG / CHAR_BIT);
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment