summaryrefslogtreecommitdiffstats
path: root/sysinfo.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-06-22 12:35:37 +0300
committerFreeArtMan <dos21h@gmail.com>2015-06-22 12:35:37 +0300
commit43d3e330b0064c8ab962a7e77b4f26ac2c63f8ec (patch)
treef12c6b3a2e87d4fd58689d94b612b4a7833ea335 /sysinfo.c
parent712439932ce9ac04fa6354cd4603046232121974 (diff)
downloadmicrobbs-43d3e330b0064c8ab962a7e77b4f26ac2c63f8ec.tar.gz
microbbs-43d3e330b0064c8ab962a7e77b4f26ac2c63f8ec.zip
Replaced print to term_printf. Fixed warning
Diffstat (limited to 'sysinfo.c')
-rw-r--r--sysinfo.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/sysinfo.c b/sysinfo.c
index b43d4e5..1509925 100644
--- a/sysinfo.c
+++ b/sysinfo.c
@@ -7,39 +7,39 @@ int bbs_sysinfo( term_screen *ts )
//setup screen to show stuff
term_clr_scr( ts );
- printf("Press ANYKEY \n\n\n");
+ term_printf( ts, "Press ANYKEY \n\n\n");
term_cur_set_c( ts, 0 );
- printf("BBS:MicroBBS %s (%s)\n", BUILD_VERSION, BUILD_DATE);
+ term_printf( ts, "BBS:MicroBBS %s (%s)\n", BUILD_VERSION, BUILD_DATE);
term_cur_set_c( ts, 0 );
- printf("Author: FreeArtMan\n");
+ term_printf( ts, "Author: FreeArtMan\n");
term_cur_set_c( ts, 0 );
- printf("Contributor: epoch\n");
+ term_printf( ts, "Contributor: epoch\n");
term_cur_set_c( ts, 0 );
- printf("Main chan: irc://irc.freenode.net#mainlv\n");
+ term_printf( ts, "Main chan: irc://irc.freenode.net#mainlv\n");
term_cur_set_c( ts, 0 );
- printf("Ideological support: irc://hacking.allowed.org#default\n");
+ term_printf( ts, "Ideological support: irc://hacking.allowed.org#default\n");
term_cur_set_c( ts, 0 );
- printf("Root dir: %s\n",g_config.root_dir );
+ term_printf( ts, "Root dir: %s\n",g_config.root_dir );
term_cur_set_c( ts, 0 );
- printf("Users dir: %s\n", g_config.user_dir );
+ term_printf( ts, "Users dir: %s\n", g_config.user_dir );
term_cur_set_c( ts, 0 );
- printf("Article dir: %s\n", g_config.article_dir );
+ term_printf( ts, "Article dir: %s\n", g_config.article_dir );
term_cur_set_c( ts, 0 );
- printf("Syslog : %d\n", g_config.syslog );
+ term_printf( ts, "Syslog : %d\n", g_config.syslog );
//main loop wait while press something
term_cur_set_r( ts, term_get_maxrow( ts ) );
term_cur_set_c( ts, 0 );
- printf(":"); fflush( stdout );
+ term_printf( ts, ":");
term_getc( ts );
return ret;