Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162430470
D58130.id181629.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
618 B
Referenced Files
None
Subscribers
None
D58130.id181629.diff
View Options
diff --git a/tests/sys/fs/fusefs/misc.cc b/tests/sys/fs/fusefs/misc.cc
--- a/tests/sys/fs/fusefs/misc.cc
+++ b/tests/sys/fs/fusefs/misc.cc
@@ -280,7 +280,7 @@
}, [&] {
char *const argv[] = {__DECONST(char *, "true"), NULL};
char *const env[] = {NULL};
- char buf[8];
+ char cbuf[8];
int fd;
/* Note that fexecve doesn't actually require O_EXEC */
@@ -290,7 +290,7 @@
return 1;
}
/* Read a few bytes, just to dirty the file's atime */
- if (read(fd, buf, sizeof(buf)) < 0) {
+ if (read(fd, cbuf, sizeof(cbuf)) < 0) {
fprintf(stderr, "read: %s\n", strerror(errno));
return 1;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 14, 4:46 AM (17 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34937355
Default Alt Text
D58130.id181629.diff (618 B)
Attached To
Mode
D58130: fusefs: fix gcc build error with shadowed variable in tests
Attached
Detach File
Event Timeline
Log In to Comment