s3: make better use of ccache by not including version.h in every C-file.
[ira/wip.git] / source3 / lib / popt_common.c
index 115133089c73911c6a1fcfaeed3db0cba4f080d3..e14477c9799b31c036ec4f81971fd9a9972d6f4a 100644 (file)
@@ -73,7 +73,7 @@ static void popt_common_callback(poptContext con,
        if (reason == POPT_CALLBACK_REASON_POST) {
 
                if (PrintSambaVersionString) {
-                       printf( "Version %s\n", SAMBA_VERSION_STRING);
+                       printf( "Version %s\n", samba_version_string());
                        exit(0);
                }