Fix file(1) dumpdate reporting for dump(8) files

Magic file for dump(8) had this dump and previous dump dates reversed.
Fix order for all three flavours of the dump(8) format.
This fix was committed to upstream repo as magic/Magdir/dump,v 1.17
and will be merged during next vendor import.

PR:		223155
MFC after:	2 weeks
This commit is contained in:
Oleksandr Tymoshenko 2018-06-26 18:53:52 +00:00
parent 89ea39a727
commit 964219664d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335675

View file

@ -6,8 +6,8 @@
# We specify both byte orders in order to recognize byte-swapped dumps.
#
0 name new-dump-be
>4 bedate x Previous dump %s,
>8 bedate x This dump %s,
>4 bedate x This dump %s,
>8 bedate x Previous dump %s,
>12 belong >0 Volume %d,
>692 belong 0 Level zero, type:
>692 belong >0 Level %d, type:
@ -25,8 +25,8 @@
>888 belong >0 Flags %x
0 name old-dump-be
#>4 bedate x Previous dump %s,
#>8 bedate x This dump %s,
#>4 bedate x This dump %s,
#>8 bedate x Previous dump %s,
>12 belong >0 Volume %d,
>692 belong 0 Level zero, type:
>692 belong >0 Level %d, type:
@ -44,8 +44,8 @@
>888 belong >0 Flags %x
0 name ufs2-dump-be
>896 beqdate x Previous dump %s,
>904 beqdate x This dump %s,
>896 beqdate x This dump %s,
>904 beqdate x Previous dump %s,
>12 belong >0 Volume %d,
>692 belong 0 Level zero, type:
>692 belong >0 Level %d, type: