summaryrefslogtreecommitdiffstats
path: root/sbin/fsck/fsck.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-12-27 21:28:48 +0000
committerrwatson <rwatson@FreeBSD.org>2007-12-27 21:28:48 +0000
commit60c8c67e863493001d80ba3072f29bc710e10c29 (patch)
tree12f8fb8cd3b7a777713a2413ec0be55073bd2abe /sbin/fsck/fsck.c
parentd9b244638ead855a1ff6847b1f72eec87015d416 (diff)
downloadFreeBSD-src-60c8c67e863493001d80ba3072f29bc710e10c29.zip
FreeBSD-src-60c8c67e863493001d80ba3072f29bc710e10c29.tar.gz
Compare kernel dump header magic with textdump magic using strncmp()
rather than the memcmp() which is used for regular dumps: the textdump string is one character shorter, so we need to stop comparing at the end of the string. Use independent version checking logic for architecture-specific version number vs. textdump version number, as the version sequences may (someday) differ. Run into by: rrs
Diffstat (limited to 'sbin/fsck/fsck.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud