Ha! Got init working.

-Erik
This commit is contained in:
Eric Andersen
1999-11-01 23:59:44 +00:00
parent ff719d663e
commit 2f6c04f63c
7 changed files with 120 additions and 104 deletions

View File

@ -60,7 +60,7 @@ get_kernel_revision()
file = fopen(filename,"r");
if (file == NULL) {
perror(filename);
/* bummer, /proc must not be mounted... */
return( 0);
}
fscanf(file,"%d.%d.%d",&major,&minor,&patch);