Whamcloud - gitweb
- repair leaks
authorrread <rread>
Tue, 7 Oct 2003 19:58:59 +0000 (19:58 +0000)
committerrread <rread>
Tue, 7 Oct 2003 19:58:59 +0000 (19:58 +0000)
- get precedence correct in class_find_client_obd

lustre/obdclass/obd_config.c

index bf0800c..a66bdff 100644 (file)
@@ -347,7 +347,7 @@ int class_add_profile(int proflen, char *prof,
         struct lustre_profile *lprof;
         int err = 0;
 
-        OBD_ALLOC(lprof, sizeof(*prof));
+        OBD_ALLOC(lprof, sizeof(*lprof));
         if (lprof == NULL)
                 GOTO(out, err = -ENOMEM);
         INIT_LIST_HEAD(&lprof->lp_list);