[netfilter-cvslog] r4125 - trunk/nfsim/kernelenv
rusty at netfilter.org
rusty at netfilter.org
Mon Jul 18 13:45:00 CEST 2005
Author: rusty at netfilter.org
Date: 2005-07-18 13:44:58 +0200 (Mon, 18 Jul 2005)
New Revision: 4125
Modified:
trunk/nfsim/kernelenv/proc_stuff.c
Log:
Remove printing of uninitialized variable which triggers error under valgrind with --failtest
Modified: trunk/nfsim/kernelenv/proc_stuff.c
===================================================================
--- trunk/nfsim/kernelenv/proc_stuff.c 2005-07-18 03:28:24 UTC (rev 4124)
+++ trunk/nfsim/kernelenv/proc_stuff.c 2005-07-18 11:44:58 UTC (rev 4125)
@@ -835,7 +835,6 @@
struct proc_dir_entry *dir;
struct inode *inode;
struct dentry *dentry;
- int ret;
dir = find_proc_entry(name);
@@ -867,8 +866,7 @@
(*f)->f_pos = 0;
if (dir->proc_fops->open && dir->proc_fops->open(inode, *f) < 0) {
- nfsim_log(LOG_UI, "proc entry %s open failed %i!",
- name, ret);
+ nfsim_log(LOG_UI, "proc entry %s open failed!", name);
talloc_free(*f);
return NULL;
}
More information about the netfilter-cvslog
mailing list