Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F138833360
D7659.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
958 B
Referenced Files
None
Subscribers
None
D7659.diff
View Options
Index: head/lib/libstand/dosfs.c
===================================================================
--- head/lib/libstand/dosfs.c
+++ head/lib/libstand/dosfs.c
@@ -439,7 +439,7 @@
u_char fn[261];
DOS_DIR dd;
size_t res;
- u_int chk, i, x, xdn;
+ u_int chk, x, xdn;
int err;
x = chk = 0;
@@ -598,7 +598,7 @@
u_char lfn[261];
u_char sfn[13];
u_int nsec, lsec, xdn, chk, sec, ent, x;
- int err, ok, i;
+ int err, ok;
if (!clus)
for (ent = 0; ent < 2; ent++)
@@ -774,11 +774,11 @@
int err = 0;
if (fat.unit != dd->d_unit) {
- /* fat cache was changed to another device, dont use it */
+ /* fat cache was changed to another device, don't use it */
err = ioread(fs, secbyt(fs->lsnfat) + fatoff(fs->fatsz, *c), buf,
fs->fatsz != 32 ? 2 : 4);
if (err)
- return err;
+ return (err);
} else {
offset = fatoff(fs->fatsz, *c);
nbyte = fs->fatsz != 32 ? 2 : 4;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 6, 4:39 AM (9 h, 17 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26709479
Default Alt Text
D7659.diff (958 B)
Attached To
Mode
D7659: Unused variables and cstyle fix of dosfs.c
Attached
Detach File
Event Timeline
Log In to Comment