From 48d4ae112d058b6974c32450a77eba3044043871 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Thu, 17 May 2001 02:30:05 +0000 Subject: Fixing up the examples directory for Samba 2.2.x --- examples/libsmbclient/tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/libsmbclient/tree.c b/examples/libsmbclient/tree.c index 5c2ced5e02b..da60236e601 100644 --- a/examples/libsmbclient/tree.c +++ b/examples/libsmbclient/tree.c @@ -343,7 +343,7 @@ static void cb_itemsignal( GtkWidget *item, g_print("cb_itemsignal: Could not open dir %s, %s\n", get_path(item), strerror(errno)); - slprintf(errmsg, sizeof(errmsg), "cb_itemsignal: Could not open dir %s, %s\n", get_path(item), strerror(errno)); + snprintf(errmsg, sizeof(errmsg), "cb_itemsignal: Could not open dir %s, %s\n", get_path(item), strerror(errno)); error_message(errmsg); @@ -362,7 +362,7 @@ static void cb_itemsignal( GtkWidget *item, g_print("cb_itemsignal: Could not read dir smbc://, %s\n", strerror(errno)); - slprintf(errmsg, sizeof(errmsg), "cb_itemsignal: Could not read dir smbc://, %s\n", strerror(errno)); + snprintf(errmsg, sizeof(errmsg), "cb_itemsignal: Could not read dir smbc://, %s\n", strerror(errno)); error_message(errmsg); -- cgit v1.2.1