Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159471006
D34758.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
476 B
Referenced Files
None
Subscribers
None
D34758.id.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
Mon, Jun 15, 2:09 PM (21 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33970254
Default Alt Text
D34758.id.diff (476 B)
Attached To
Mode
D34758: loader: userboot: provide a getsecs() implementation
Attached
Detach File
Event Timeline
Log In to Comment