summaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
authorEric Andersen1999-11-01 23:59:44 +0000
committerEric Andersen1999-11-01 23:59:44 +0000
commit2f6c04f63c55a03366dfd5848f00bda664c9a90d (patch)
tree3e9c595c46a1032cc1bd4d20694c8a0edfd643f9 /utility.c
parentff719d663e49ab3abb8060ad93e62b160029f63b (diff)
downloadbusybox-2f6c04f63c55a03366dfd5848f00bda664c9a90d.zip
busybox-2f6c04f63c55a03366dfd5848f00bda664c9a90d.tar.gz
Ha! Got init working.
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility.c b/utility.c
index 6373687..2656832 100644
--- a/utility.c
+++ b/utility.c
@@ -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);