38febc9b19
OK jasper@
25 lines
1.0 KiB
Plaintext
25 lines
1.0 KiB
Plaintext
$OpenBSD: patch-src_startup_c,v 1.1 2012/09/21 17:16:14 dcoppa Exp $
|
|
|
|
On OpenBSD, time_t is an int.
|
|
|
|
--- src/startup.c.orig Thu Sep 20 14:25:49 2012
|
|
+++ src/startup.c Thu Sep 20 14:26:05 2012
|
|
@@ -74,7 +74,7 @@ static int _delete_startup_sequence(struct Startup_Seq
|
|
|
|
/* Mark the given sequence for deletion in 30 seconds. */
|
|
sequence->delete_at = current_time + 30;
|
|
- DLOG("Will delete startup sequence %s at timestamp %ld\n",
|
|
+ DLOG("Will delete startup sequence %s at timestamp %d\n",
|
|
sequence->id, sequence->delete_at);
|
|
|
|
/* Traverse the list and delete everything which was marked for deletion 30
|
|
@@ -94,7 +94,7 @@ static int _delete_startup_sequence(struct Startup_Seq
|
|
if (current_time <= current->delete_at)
|
|
continue;
|
|
|
|
- DLOG("Deleting startup sequence %s, delete_at = %ld, current_time = %ld\n",
|
|
+ DLOG("Deleting startup sequence %s, delete_at = %d, current_time = %d\n",
|
|
current->id, current->delete_at, current_time);
|
|
|
|
/* Unref the context, will be free()d */
|