Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176832895
D34758.1793451500.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
476 B
Referenced Files
None
Subscribers
None
D34758.1793451500.diff
View Options
Index: stand/userboot/userboot/main.c
===================================================================
--- stand/userboot/userboot/main.c
+++ stand/userboot/userboot/main.c
@@ -70,6 +70,18 @@
CALLBACK(delay, usec);
}
+time_t
+getsecs(void)
+{
+
+ /*
+ * userboot can't do netboot, so this implementation isn't strictly
+ * required. Defining it avoids issues with BIND_NOW, and it doesn't
+ * hurt to do it.
+ */
+ return (time(NULL));
+}
+
void
exit(int v)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 31, 12:58 PM (15 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41263876
Default Alt Text
D34758.1793451500.diff (476 B)
Attached To
Mode
D34758: loader: userboot: provide a getsecs() implementation
Attached
Detach File
Event Timeline