projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix system breakage window during make install due to permissions
[musl]
/
src
/
dirent
/
rewinddir.c
diff --git
a/src/dirent/rewinddir.c
b/src/dirent/rewinddir.c
index
c6138f7
..
f205300
100644
(file)
--- a/
src/dirent/rewinddir.c
+++ b/
src/dirent/rewinddir.c
@@
-5,9
+5,9
@@
void rewinddir(DIR *dir)
{
void rewinddir(DIR *dir)
{
- LOCK(
&
dir->lock);
+ LOCK(dir->lock);
lseek(dir->fd, 0, SEEK_SET);
dir->buf_pos = dir->buf_end = 0;
dir->tell = 0;
lseek(dir->fd, 0, SEEK_SET);
dir->buf_pos = dir->buf_end = 0;
dir->tell = 0;
- UNLOCK(
&
dir->lock);
+ UNLOCK(dir->lock);
}
}