mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-17 06:42:18 -08:00
In si_chmod(), fix detection of error condition.
This commit is contained in:
parent
3fe675ac83
commit
9f683792a1
1 changed files with 1 additions and 1 deletions
|
|
@ -1123,7 +1123,7 @@ si_chmod(cl_object file, cl_object mode)
|
|||
{
|
||||
mode_t code = fixnnint(mode);
|
||||
cl_object filename = si_coerce_to_filename(file);
|
||||
unlikely_if (!chmod((char*)filename->base_string.self, code)) {
|
||||
unlikely_if (chmod((char*)filename->base_string.self, code)) {
|
||||
FElibc_error("Unable to change mode of file~%~S~%to value ~O",
|
||||
2, file, mode);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue