forked from Imagelibrary/rtems
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:
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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, ¶ms_c) != 0) {
|
||||
perror ("Error in trhead create for task c\n");
|
||||
perror ("Error in thread create for task c\n");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user