diff options
author | Chris Lumens <clumens@redhat.com> | 2007-01-16 15:22:05 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-01-16 15:22:05 +0000 |
commit | 3527054f5d13b747a35d88cd9536eae2899bf82b (patch) | |
tree | 5e5518ff0195c73852586127b1ac3bfeb44392fd /loader2 | |
parent | 5bc4e3455f289e8b847703b05ce8d142b6b558b8 (diff) | |
download | anaconda-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')
-rw-r--r-- | loader2/hdinstall.c | 2 |
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; } |