diff options
author | peter <peter@FreeBSD.org> | 2003-04-30 22:09:26 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-04-30 22:09:26 +0000 |
commit | 90868b7f5e6ad3ba52f71789d047878479cff2c8 (patch) | |
tree | 0c2c10d0c26123f5aa5ed69f19d4ba304fbe35fe /sys/powerpc/aim | |
parent | 1f9ddc11ba64602b0ac1eee656cad98349c78b17 (diff) | |
download | FreeBSD-src-90868b7f5e6ad3ba52f71789d047878479cff2c8.zip FreeBSD-src-90868b7f5e6ad3ba52f71789d047878479cff2c8.tar.gz |
Fix transcription error. Use == NULL, not != NULL. Fortunately this
was harmless.
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r-- | sys/powerpc/aim/machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index 4bce713..4e91766 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -268,7 +268,7 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, void *mdp) if (mdp != NULL) { preload_metadata = mdp; kmdp = preload_search_by_type("elf32 kernel"); - if (kmdp != NULL) + if (kmdp == NULL) kmdp = preload_search_by_type("elf kernel"); if (kmdp != NULL) { boothowto = MD_FETCH(kmdp, MODINFOMD_HOWTO, int); |