Print @VERSION@ in Captive 'advertisement'.
authorshort <>
Mon, 29 Sep 2003 15:49:43 +0000 (15:49 +0000)
committershort <>
Mon, 29 Sep 2003 15:49:43 +0000 (15:49 +0000)
src/client/lufs/mount.captive.in
src/libcaptive/client/vfs.c

index ea1fcdd..7c66917 100755 (executable)
@@ -76,7 +76,7 @@ if (!-r $ntoskrnl) {
 if ($fsname eq "ntfs") {
        for my $fh (*STDERR,*STDOUT) {
                if (-t $fh) {
-                       print $fh "Captive NTFS activated. Updates: http://www.jankratochvil.net/project/captive/\n";
+                       print $fh 'Captive NTFS v@VERSION@. Updates: http://www.jankratochvil.net/project/captive/'."\n";
                        last;
                        }
                }
index 447aae2..3a49803 100644 (file)
@@ -101,7 +101,7 @@ int fd;
                /* Shameless advertisement: */
                for (fd=2 /* STDERR */;fd>=1 /* STDOUT */;fd--) {
                        if (isatty(fd)) {
-const gchar *msg="Captive NTFS activated. Updates: http://www.jankratochvil.net/project/captive/\n";
+const gchar *msg="Captive NTFS v" VERSION ". Updates: http://www.jankratochvil.net/project/captive/\n";
 
                                write(fd,msg,strlen(msg));
                                break;