patch-2.4.0-test10 linux/fs/devfs/util.c

Next file: linux/fs/exec.c
Previous file: linux/fs/devfs/base.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test9/linux/fs/devfs/util.c linux/fs/devfs/util.c
@@ -114,8 +114,8 @@
     int pos;
     devfs_handle_t parent, slave;
     char name[16], dest[64];
-    static unsigned int tape_counter = 0;
-    static devfs_handle_t tape_dir = NULL;
+    static unsigned int tape_counter;
+    static devfs_handle_t tape_dir;
 
     if (tape_dir == NULL) tape_dir = devfs_mk_dir (NULL, "tapes", NULL);
     parent = devfs_get_parent (de);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)