diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-04-20 20:55:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-04-20 20:55:53 +0000 |
commit | a4faf24354ee98ef226a9012f2835cd771380882 (patch) | |
tree | 4f40dfbd7bb3a5efbc2f91d6ceebfa5602971cc6 /sysdeps/unix | |
parent | 680dd6f228441bf625ca6a384c22f9dfb90133e1 (diff) | |
download | glibc-a4faf24354ee98ef226a9012f2835cd771380882.tar.gz glibc-a4faf24354ee98ef226a9012f2835cd771380882.tar.xz glibc-a4faf24354ee98ef226a9012f2835cd771380882.zip |
Update.
* sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Cast first syscall parameter to cnst char*.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/not-cancel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/not-cancel.h b/sysdeps/unix/sysv/linux/not-cancel.h index e2cb3b24a1..cf61cff379 100644 --- a/sysdeps/unix/sysv/linux/not-cancel.h +++ b/sysdeps/unix/sysv/linux/not-cancel.h @@ -24,7 +24,7 @@ #ifdef INLINE_SYSCALL # define open_not_cancel(name, flags, mode...) \ ({ int _mode = (0, ##mode); \ - INLINE_SYSCALL (open, 3, name, flags, _mode); }) + INLINE_SYSCALL (open, 3, (const char *) name, flags, _mode); }) #endif /* Uncancelable close. */ |