summaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
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);