2004-03-05 Joel Sherrill <joel@OARcorp.com>

* psxfile01/test.c, psxmsgq01/init.c, psxstat/test.c,
	psxtimer/psxtimer.c: Eliminate warnings and typos.
This commit is contained in:
Joel Sherrill
2004-03-05 15:51:13 +00:00
parent 070425c630
commit 3c0c89888d
5 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2004-03-05 Joel Sherrill <joel@OARcorp.com>
* psxfile01/test.c, psxmsgq01/init.c, psxstat/test.c,
psxtimer/psxtimer.c: Eliminate warnings and typos.
2004-02-26 Sébastien Barré <sbarre@sdelcc.com>
PR 582/core

View File

@@ -80,7 +80,7 @@ void dump_statbuf( struct stat *buf )
printf( "....st_dev (0x%x:0x%x)\n", major1, minor1 );
printf( "....st_ino %x may vary by small amount\n",
(unsigned int) buf->st_ino );
printf( "....mode = %08o\n", buf->st_mode );
printf( "....mode = %08o\n", (unsigned int) buf->st_mode );
printf( "....nlink = %d\n", buf->st_nlink );
printf( "....uid = %d\n", buf->st_uid );

View File

@@ -1004,8 +1004,10 @@ void verify_with_threads()
int status;
pthread_t id;
Test_Message_t *ptr;
#if 0
unsigned int priority;
char message[100];
#endif
#if 0

View File

@@ -197,7 +197,7 @@ void stat_a_file(
printf("\n...st_dev (0x%x:0x%x)\n", major1, minor1 );
printf( "...st_ino %x\n", (int) statbuf.st_ino );
printf( "...st_mode %o\n", statbuf.st_mode );
printf( "...st_mode %o\n", (unsigned int) statbuf.st_mode );
printf( "...st_nlink %x\n", statbuf.st_nlink );
printf( "...st_uid %d\n", statbuf.st_uid );
printf( "...st_gid %d\n", statbuf.st_gid );

View File

@@ -328,7 +328,7 @@ void *POSIX_Init (
params_c.period.tv_nsec = 000000000; /* nanoseconds */
params_c.signo = SIGALRM;
if (pthread_create (&tc, &attr, task_c, &params_c) != 0) {
perror ("Error in trhead create for task c\n");
perror ("Error in thread create for task c\n");
}