File: replace-64bit-knote.patch

package info (click to toggle)
libkqueue 2.0.3-1.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,672 kB
  • ctags: 821
  • sloc: sh: 11,416; ansic: 5,204; makefile: 46
file content (13 lines) | stat: -rw-r--r-- 488 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: libkqueue-2.0.3/src/common/knote.c
===================================================================
--- libkqueue-2.0.3.orig/src/common/knote.c
+++ libkqueue-2.0.3/src/common/knote.c
@@ -120,7 +120,7 @@ knote_lookup(struct filter *filt, uintpt
     ent = RB_FIND(knt, &filt->kf_knote, &query);
     pthread_rwlock_unlock(&filt->kf_knote_mtx);

-#ifdef __x86_64__
+#ifdef __LP64__
     dbg_printf("id=%lu ent=%p", ident, ent);
 #else
     dbg_printf("id=%u ent=%p", ident, ent);