Whamcloud - gitweb
b=1311 don't print an error if the debug buffer is empty
authorrread <rread>
Tue, 20 May 2003 21:00:50 +0000 (21:00 +0000)
committerrread <rread>
Tue, 20 May 2003 21:00:50 +0000 (21:00 +0000)
lnet/utils/debug.c
lustre/portals/utils/debug.c

index afc7022..9ab1c73 100644 (file)
@@ -319,8 +319,6 @@ int jt_dbg_debug_kernel(int argc, char **argv)
         newdata = (struct portal_ioctl_data *)buf;
         if (newdata->ioc_size > 0)
                 dump_buffer(fd, databuf, newdata->ioc_size, raw);
-        else
-                fprintf(stderr, "No data in the debug buffer.\n");
 
  out:
         if (databuf)
index afc7022..9ab1c73 100644 (file)
@@ -319,8 +319,6 @@ int jt_dbg_debug_kernel(int argc, char **argv)
         newdata = (struct portal_ioctl_data *)buf;
         if (newdata->ioc_size > 0)
                 dump_buffer(fd, databuf, newdata->ioc_size, raw);
-        else
-                fprintf(stderr, "No data in the debug buffer.\n");
 
  out:
         if (databuf)