psss / rpms / libselinux

Forked from rpms/libselinux 5 years ago
Clone
aebde75
diff --exclude-from=exclude -N -u -r nsalibselinux/src/matchpathcon.c libselinux-2.0.24/src/matchpathcon.c
aebde75
--- nsalibselinux/src/matchpathcon.c	2007-07-16 14:20:46.000000000 -0400
44ef5d5
+++ libselinux-2.0.24/src/matchpathcon.c	2007-07-23 10:21:34.000000000 -0400
aebde75
@@ -65,7 +65,7 @@
aebde75
 #ifdef __GNUC__
aebde75
     __attribute__ ((format(printf, 1, 2)))
aebde75
 #endif
aebde75
-    (*myprintf) (const char *fmt,...);
aebde75
+    (*myprintf) (const char *fmt,...) = &default_printf;
aebde75
 
aebde75
 void set_matchpathcon_printf(void (*f) (const char *fmt, ...))
aebde75
 {