EOF warning fix
[unres.git] / source / unres / src_MD / compinfo.c
index c7eecbe..e28f686 100644 (file)
@@ -28,7 +28,7 @@ uname(&Name);
 time(&Tp);
 system("whoami > tmptmp");
 in1=fopen("tmptmp","r");
-if (fscanf(in1,"%s",buf1) != NULL)
+if (fscanf(in1,"%s",buf1) != EOF)
 {
 p1=ctime(&Tp);
 p1[strlen(p1)-1]='\0';