summaryrefslogtreecommitdiff
path: root/cifs.upcall.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-03-20 07:49:44 -0400
committerJeff Layton <jlayton@redhat.com>2010-03-20 07:49:44 -0400
commit330cb93bc946d61825e227b5cac27234be584abb (patch)
tree214d55c34cebd4af67894e0c0fa595c0bf47e244 /cifs.upcall.c
parent4d8902296bbb8d877bdfe70847a9a29b6cb21186 (diff)
downloadcifs-utils-330cb93bc946d61825e227b5cac27234be584abb.tar.gz
cifs-utils-330cb93bc946d61825e227b5cac27234be584abb.tar.bz2
cifs-utils-330cb93bc946d61825e227b5cac27234be584abb.zip
cifs-utils: switch to using autoconf package version
Rather than using a hardcoded version string, use the VERSION macro that autoconf provides. This will help make it clear what version is actually being used in bug reports when someone runs "mount.cifs -V" or "cifs.upcall --version". Also, clean up AC_INIT and AM_INIT_AUTOMAKE macros. Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'cifs.upcall.c')
-rw-r--r--cifs.upcall.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cifs.upcall.c b/cifs.upcall.c
index 6d95477..a81eb24 100644
--- a/cifs.upcall.c
+++ b/cifs.upcall.c
@@ -53,7 +53,6 @@ create dns_resolver * * /usr/local/sbin/cifs.upcall %k
#define MAX_CCNAME_LEN PATH_MAX + 5
-const char *CIFSSPNEGO_VERSION = "1.4";
static const char *prog = "cifs.upcall";
typedef enum _sectype {
NONE = 0,
@@ -615,7 +614,7 @@ int main(const int argc, char *const argv[])
try_dns++;
break;
case 'v':
- printf("version: %s\n", CIFSSPNEGO_VERSION);
+ printf("version: %s\n", VERSION);
goto out;
default:
syslog(LOG_ERR, "unknown option: %c", c);