diff options
author | Eric Andersen | 1999-10-20 19:18:15 +0000 |
---|---|---|
committer | Eric Andersen | 1999-10-20 19:18:15 +0000 |
commit | d23f9ba0f6d82e6bab8a3ec1b804865f4b22cfb7 (patch) | |
tree | 0ab285d58cd8cf530ad8acac823545df892c90e9 /init | |
parent | ef8b6c757de9684f5d88eff4b014527e87121137 (diff) | |
download | busybox-d23f9ba0f6d82e6bab8a3ec1b804865f4b22cfb7.zip busybox-d23f9ba0f6d82e6bab8a3ec1b804865f4b22cfb7.tar.gz |
Made ps work. Fixed some stuff.
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/init/init.c b/init/init.c index 6c44cce..6286545 100644 --- a/init/init.c +++ b/init/init.c @@ -194,19 +194,6 @@ set_free_pages() fclose(f); } -static int -get_kernel_revision() -{ - FILE *f; - int major=0, minor=0, patch=0; - - f = fopen("/proc/sys/kernel/osrelease","r"); - fscanf(f,"%d.%d.%d",&major,&minor,&patch); - fclose(f); - return major*65536 + minor*256 + patch; -} - - static void shutdown_system(void) { |