Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151869040
D50198.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
387 B
Referenced Files
None
Subscribers
None
D50198.diff
View Options
diff --git a/usr.sbin/makefs/msdos/msdosfs_vnops.c b/usr.sbin/makefs/msdos/msdosfs_vnops.c
--- a/usr.sbin/makefs/msdos/msdosfs_vnops.c
+++ b/usr.sbin/makefs/msdos/msdosfs_vnops.c
@@ -113,7 +113,7 @@
struct tm lt = {0};
t1 = tsp->tv_sec;
- localtime_r(&t1, <);
+ gmtime_r(&t1, <);
unsigned long fat_time = ((lt.tm_year - 80) << 25) |
((lt.tm_mon + 1) << 21) |
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 12, 5:49 AM (2 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31330065
Default Alt Text
D50198.diff (387 B)
Attached To
Mode
D50198: makefs: Use gmtime() instead of localtime for timestamps
Attached
Detach File
Event Timeline
Log In to Comment