diff options
author | robert <robert@FreeBSD.org> | 2003-04-04 14:40:49 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2003-04-04 14:40:49 +0000 |
commit | a882342fd83b0efeef18cc67e1486e2f725d88e4 (patch) | |
tree | 4fd5017871a387d8937d2ddc0ec85b11d1e05d73 /sys/boot/arc/lib/arcdisk.c | |
parent | 9e59a398a59c6010a152f04feb3b33f011f9aeae (diff) | |
download | FreeBSD-src-a882342fd83b0efeef18cc67e1486e2f725d88e4.zip FreeBSD-src-a882342fd83b0efeef18cc67e1486e2f725d88e4.tar.gz |
- Print out an error message instead of dereferencing a NULL pointer
if matchinstalled() found no packages, which happens to be the
case after fresh installations.
- Instead of using strstr(3) to match the package name, depend on
matchinstalled()'s MATCH_REGEX package matching.
PR: bin/50384
MFC after: 2 weeks
Diffstat (limited to 'sys/boot/arc/lib/arcdisk.c')
0 files changed, 0 insertions, 0 deletions