util-linux: tweak sscanf-no-ms-as patch

The patch has a minor mistake so fix it.
Credit go to Daniel Mentz <daniel@exxm.de> for the detailed bug report.
Closes bug #6428

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Gustavo Zacarias 2013-11-28 10:56:06 -03:00 committed by Peter Korsgaard
parent 300c6e7c0a
commit 62d15df19a

View File

@ -124,7 +124,7 @@ ported to util-linux-2.23.2
"%jd" /* (4) used */
"%d", /* priority */
+#ifndef HAVE_SCANF_MS_MODIFIER
+#ifdef HAVE_SCANF_MS_MODIFIER
&src,
&fs->swaptype,
+#else