cluster/fence/agents/xvm simple_auth.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: cfeist at sourceware.org 2006-11-13 22:17:46
Modified files:
fence/agents/xvm: simple_auth.c
Log message:
Fixes to prevent compile time warnings/errors in brew.
fence/agents/xvm/simple_auth.c +3 -3
@@ -375,7 +375,7 @@char *p;dprintf (3 ,"Reading in key file %s into %p (%d len)" , - file, key, max_len); + file, key, (int )max_len); fd =open (file,O_RDONLY );if (fd <0 ) {return -1 ;
@@ -395,7 +395,7 @@if (nread ==0 ) {dprintf (3 ,"Stopped reading @ %d bytes" , - max_len-remain); + (int )max_len-remain);break ; }
@@ -403,7 +403,7 @@ remain -= nread; } -dprintf (3 ,"Actual key length = %d bytes" , max_len-remain); +dprintf (3 ,"Actual key length = %d bytes" , (int )max_len-remain);close (fd);return 0 ;