extlinux: use syslinux_already_installed instead of already_installed
authorPaulo Alcantara <pcacjr@gmail.com>
Fri, 15 Apr 2011 18:13:54 +0000 (15:13 -0300)
committerPaulo Alcantara <pcacjr@gmail.com>
Fri, 15 Apr 2011 18:13:54 +0000 (15:13 -0300)
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
extlinux/main.c

index 21369e4..fb3cc77 100755 (executable)
@@ -766,7 +766,7 @@ int install_loader(const char *path, int update_only)
     if (devfd < 0)
        return 1;
 
-    if (update_only && !already_installed(devfd)) {
+    if (update_only && !syslinux_already_installed(devfd)) {
        fprintf(stderr, "%s: no previous syslinux boot sector found\n",
                program);
        close(devfd);