Whamcloud - gitweb
modify llog_reader to show args of lov_modify_tgts.
authorlincent <lincent>
Thu, 27 Oct 2005 08:20:27 +0000 (08:20 +0000)
committerlincent <lincent>
Thu, 27 Oct 2005 08:20:27 +0000 (08:20 +0000)
lustre/utils/llog_reader.c

index def3ddd..bb53091 100644 (file)
@@ -214,7 +214,8 @@ static void print_1_cfg(struct lustre_cfg *lcfg)
 {
         int i;
         for (i = 0; i <  lcfg->lcfg_bufcount; i++)
-                printf("%d:%s ", i, lustre_cfg_string(lcfg, i));
+                printf("%d:%.*s  ", i, lcfg->lcfg_buflens[i], 
+                       (char*)lustre_cfg_buf(lcfg, i));
         return;
 }