From 699e58a43daf7f0f85440879f225c12eb43c878c Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Mon, 15 Dec 2008 00:27:58 -0500 Subject: [opkg] fixing typo & incompatible part to gcc 4.3.2 git-svn-id: http://opkg.googlecode.com/svn/trunk@150 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/libopkg.c') diff --git a/libopkg/libopkg.c b/libopkg/libopkg.c index d4910de..552ee20 100644 --- a/libopkg/libopkg.c +++ b/libopkg/libopkg.c @@ -38,7 +38,7 @@ int default_opkg_message_callback(opkg_conf_t *conf, message_level_t level, if ( level == OPKG_ERROR ){ push_error_list(&error_list, msg); } else - printf(msg); + printf("%s",msg); } return 0; } @@ -71,7 +71,7 @@ int default_opkg_status_callback(char *name, int istatus, char *desc, char* default_opkg_response_callback(char *question) { char *response = NULL; - printf(question); + printf("%s",question); fflush(stdout); do { response = (char *)file_read_line_alloc(stdin); -- cgit v0.9.1