Whamcloud - gitweb
LU-4629 lov: fix sscanf format specification 91/9391/4
authorDmitry Eremin <dmitry.eremin@intel.com>
Tue, 25 Feb 2014 21:06:20 +0000 (01:06 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 6 May 2014 02:31:22 +0000 (02:31 +0000)
commit53d5b14f0dd4fda046bb1d0ce578a1849cec59db
tree1267c4b9ac90e6469b16619a1d27dc7f353b6bc5
parent6a9e714c03ab4d328f7ee24e2d01bd0146ef52c7
LU-4629 lov: fix sscanf format specification

sscanf format specification '%d' expects type 'int *' for 'd',
but parameter 3 has a different type '__u32*'

Length of format string "o%.5d" is 11 but array 'oname' of size 10.

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Change-Id: I132ba4c4865cc12f831638edddb8d41e5fa2d273
Reviewed-on: http://review.whamcloud.com/9391
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/lov/lov_obd.c
lustre/utils/loadgen.c