aboutsummaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-11-01 23:59:44 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-11-01 23:59:44 +0000
commita8a6e9fe458f3ce5df1b34259b27d4ff6e7d6430 (patch)
tree3e9c595c46a1032cc1bd4d20694c8a0edfd643f9 /utility.c
parent5edf9efe25318aeaa47229b97526244c26b86736 (diff)
downloadbusybox-w32-a8a6e9fe458f3ce5df1b34259b27d4ff6e7d6430.tar.gz
busybox-w32-a8a6e9fe458f3ce5df1b34259b27d4ff6e7d6430.tar.bz2
busybox-w32-a8a6e9fe458f3ce5df1b34259b27d4ff6e7d6430.zip
Ha! Got init working.
-Erik git-svn-id: svn://busybox.net/trunk/busybox@70 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r--utility.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility.c b/utility.c
index 637368740..26568320f 100644
--- a/utility.c
+++ b/utility.c
@@ -60,7 +60,7 @@ get_kernel_revision()
60 60
61 file = fopen(filename,"r"); 61 file = fopen(filename,"r");
62 if (file == NULL) { 62 if (file == NULL) {
63 perror(filename); 63 /* bummer, /proc must not be mounted... */
64 return( 0); 64 return( 0);
65 } 65 }
66 fscanf(file,"%d.%d.%d",&major,&minor,&patch); 66 fscanf(file,"%d.%d.%d",&major,&minor,&patch);