summaryrefslogtreecommitdiffstats
path: root/loader2/hdinstall.c
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-01-16 15:22:05 +0000
committerChris Lumens <clumens@redhat.com>2007-01-16 15:22:05 +0000
commit3527054f5d13b747a35d88cd9536eae2899bf82b (patch)
tree5e5518ff0195c73852586127b1ac3bfeb44392fd /loader2/hdinstall.c
parent5bc4e3455f289e8b847703b05ce8d142b6b558b8 (diff)
downloadanaconda-3527054f5d13b747a35d88cd9536eae2899bf82b.tar.gz
anaconda-3527054f5d13b747a35d88cd9536eae2899bf82b.tar.xz
anaconda-3527054f5d13b747a35d88cd9536eae2899bf82b.zip
Fix test for NULL (#222767, Zhang Yanmin <yanmin.zhang AT intel.com>).
Diffstat (limited to 'loader2/hdinstall.c')
-rw-r--r--loader2/hdinstall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader2/hdinstall.c b/loader2/hdinstall.c
index 3c4590374..564ad8b54 100644
--- a/loader2/hdinstall.c
+++ b/loader2/hdinstall.c
@@ -70,7 +70,7 @@ static int loadHDImages(char * prefix, char * dir,
logMessage(INFO, "%s does not exist: %s, trying next target", path, strerror(errno));
}
- if (!(*target)) {
+ if (!target) {
logMessage(ERROR, "failed to find hd stage 2 image%s: %s", path, strerror(errno));
return 1;
}