diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-12-27 21:28:48 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-12-27 21:28:48 +0000 |
commit | 60c8c67e863493001d80ba3072f29bc710e10c29 (patch) | |
tree | 12f8fb8cd3b7a777713a2413ec0be55073bd2abe /sbin/fsck/fsck.c | |
parent | d9b244638ead855a1ff6847b1f72eec87015d416 (diff) | |
download | FreeBSD-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