]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
typo in threaded build, silence compiler warning
authorMark Andrews <marka@isc.org>
Thu, 13 May 2010 03:08:30 +0000 (03:08 +0000)
committerMark Andrews <marka@isc.org>
Thu, 13 May 2010 03:08:30 +0000 (03:08 +0000)
lib/dns/dst_api.c

index 8be1286b1f6e9b0024098d25f4c0d2a3b2390d61..b1b686cb8d25f58de4688508ee76f584d1419449 100644 (file)
@@ -31,7 +31,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: dst_api.c,v 1.50 2010/05/12 23:49:40 marka Exp $
+ * $Id: dst_api.c,v 1.51 2010/05/13 03:08:30 marka Exp $
  */
 
 /*! \file */
@@ -1369,7 +1369,7 @@ printtime(const dst_key_t *key, int type, const char *tag, FILE *stream) {
        if (ctime_s(output, sizeof(output), &t) != 0)
                goto error;
 #else
-       if (ctime_r(&t, outout) == NULL)
+       if (ctime_r(&t, output) == NULL)
                goto error;
 #endif
 #else
@@ -1383,7 +1383,7 @@ printtime(const dst_key_t *key, int type, const char *tag, FILE *stream) {
 
        isc_buffer_usedregion(&b, &r);
        fprintf(stream, "%s: %.*s (%.*s)\n", tag, (int)r.length, r.base,
-                strlen(output) - 1, output);
+                (int)strlen(output) - 1, output);
        return;
 
  error: