Whamcloud - gitweb
AOSP: libext2fs: fix sparse param parsing on mac build
authorJin Qian <jinqian@google.com>
Sat, 7 Jan 2017 00:30:34 +0000 (16:30 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 24 May 2017 02:58:04 +0000 (22:58 -0400)
commita5d3c5ba686cfeb21d1d679f7ca2dc8f09748b75
treebedd5ab8621ee362f0af4b56d8fb5f1a46278100
parentca2e5d42a22df8fa1e86c96c4a13e923a7efe9d3
AOSP: libext2fs: fix sparse param parsing on mac build

Flag m is not supported on macos sscanf. Fall back to manually
allocate the string.

Use strict format to skip ":" between params.

Change-Id: Ic4f3747708423d0504ea40fb5cb116068f4a7ab8
From AOSP commit: 901472babf4ea5e4d2d44aa16834b1c899c8937f

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/sparse_io.c