dtlogin: Resolve 27 compiler warnings

This commit is contained in:
Peter Howkins
2014-12-23 22:01:51 +00:00
parent 407aa2c4b7
commit bc842043d2
12 changed files with 90 additions and 34 deletions

View File

@@ -262,7 +262,9 @@ WillingMsg( void )
strcat(tmpbuf,tmpfilename);
system(tmpbuf);
if(-1 == system(tmpbuf)) {
perror(strerror(errno));
}
if ((f = fopen(tmpfilename,"r")) != (FILE *) NULL) {
fgets(tmpbuf,LINEBUFSIZE,f);