diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-03-20 07:49:44 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2010-03-20 07:49:44 -0400 |
commit | 330cb93bc946d61825e227b5cac27234be584abb (patch) | |
tree | 214d55c34cebd4af67894e0c0fa595c0bf47e244 /cifs.upcall.c | |
parent | 4d8902296bbb8d877bdfe70847a9a29b6cb21186 (diff) | |
download | cifs-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.c | 3 |
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); |