summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald (Jerry) Carter <jerry@samba.org>2007-12-10 08:59:39 -0600
committerGerald (Jerry) Carter <jerry@samba.org>2007-12-10 08:59:39 -0600
commit5cc2baea238b49b99d69099a12c3c02ac4860a52 (patch)
tree420c6872c3b9a4d7bcf26c5882508bb87a86e735
parent82bd5484ad502f2afdb771a27a12a39459cb2ec0 (diff)
downloadsamba-5cc2baea238b49b99d69099a12c3c02ac4860a52.tar.gz
Additional fixes for SAMBA_VERSION_VENDOR_PATCH in lib/version.c
-rw-r--r--source/lib/version.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/lib/version.c b/source/lib/version.c
index ee8c3eb1967..93fd1082f7c 100644
--- a/source/lib/version.c
+++ b/source/lib/version.c
@@ -28,7 +28,7 @@ const char *samba_version_string(void)
#else
static fstring samba_version;
static BOOL init_samba_version;
-#ifdef SAMBA_VENDOR_PATCH
+#ifdef SAMBA_VERSION_VENDOR_PATCH
fstring tmp_version;
size_t remaining;
#endif
@@ -40,9 +40,9 @@ const char *samba_version_string(void)
SAMBA_VERSION_OFFICIAL_STRING,
SAMBA_VERSION_VENDOR_SUFFIX);
-#ifdef SAMBA_VENDOR_PATCH
+#ifdef SAMBA_VERSION_VENDOR_PATCH
remaining = sizeof(samba_version)-strlen(samba_version);
- snprintf( tmp_version, sizeof(tmp_version), "-%d", SAMBA_VENDOR_PATCH );
+ snprintf( tmp_version, sizeof(tmp_version), "-%d", SAMBA_VERSION_VENDOR_PATCH);
strlcat( samba_version, tmp_version, remaining-1 );
#endif