From 0698c5169fca5b7969e6b0fa4de22b693e7fd2e4 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 17 Oct 2008 19:18:46 +0000 Subject: Use more warning options with modern GCCs. Other minor changes. --- agent/call-scd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'agent/call-scd.c') diff --git a/agent/call-scd.c b/agent/call-scd.c index 65483e55d..fce132004 100644 --- a/agent/call-scd.c +++ b/agent/call-scd.c @@ -381,10 +381,8 @@ start_scd (ctrl_t ctrl) char buf[100]; #ifdef HAVE_W32_SYSTEM - /* Use estream snprintf due to a bug in mingw32 related to the l - modifier. */ - estream_snprintf (buf, sizeof buf, "OPTION event-signal=%lx", - (unsigned long)get_agent_scd_notify_event ()); + snprintf (buf, sizeof buf, "OPTION event-signal=%lx", + (unsigned long)get_agent_scd_notify_event ()); #else snprintf (buf, sizeof buf, "OPTION event-signal=%d", SIGUSR2); #endif -- cgit v1.2.3