summaryrefslogtreecommitdiffstats
path: root/sys/boot/arc/lib/arcdisk.c
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2003-04-04 14:40:49 +0000
committerrobert <robert@FreeBSD.org>2003-04-04 14:40:49 +0000
commita882342fd83b0efeef18cc67e1486e2f725d88e4 (patch)
tree4fd5017871a387d8937d2ddc0ec85b11d1e05d73 /sys/boot/arc/lib/arcdisk.c
parent9e59a398a59c6010a152f04feb3b33f011f9aeae (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud