diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:27:58 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:27:58 (EST) |
commit | 699e58a43daf7f0f85440879f225c12eb43c878c (patch) | |
tree | 905deed654a4903416d253bef5cf5c6e589dfc5f /libopkg/libopkg.c | |
parent | 69b2e9b983b00a1815fc28c7853c42371a1545e5 (diff) |
[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
Diffstat (limited to 'libopkg/libopkg.c')
-rw-r--r-- | libopkg/libopkg.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |