GeLiXin 8c8cf8a2d8 Fix coverity defects: CID 147639
When array is passed as a parameter it degenerates into a
pointer so the sizeof(path) in is_shorthand_path() and always
get return value of 8, instead of the string length we want.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: GeLiXin <ge.lixin@zte.com.cn>
Closes #5198
2016-10-10 15:30:22 -07:00
..
2013-01-09 16:54:58 -08:00
2016-10-08 14:57:56 -07:00
2016-08-31 14:32:46 -07:00
2016-10-10 15:30:22 -07:00
2016-10-05 16:41:46 +02:00