ports/devel/libexplain/files/patch-libexplain__buffer__mount_flags.c
Danilo Egea Gondolfo e3c3b5d6f2 - Update from 1.2 to 1.3 patch level D012
PR:		ports/184885
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-22 00:21:49 +00:00

21 lines
499 B
C

--- libexplain/buffer/mount_flags.c.orig
+++ libexplain/buffer/mount_flags.c
@@ -148,6 +148,7 @@
* information and must be discarded.
*/
first = 1;
+#if defined(MS_MGC_MSK) && defined(MS_MGC_VAL)
if ((flags & MS_MGC_MSK) == MS_MGC_VAL)
{
flags &= ~MS_MGC_MSK;
@@ -156,7 +157,9 @@
return;
first = 0;
}
- else if (flags == 0)
+ else
+#endif
+ if (flags == 0)
{
explain_string_buffer_putc(sb, '0');
return;