exit (1);
}
- printf ("group name = %.*s\n", groupname -> len, groupname -> value);
+ printf ("group name = %.*s\n",
+ (int)groupname -> len,
+ groupname -> value);
memset (&host_handle, 0, sizeof host_handle);
status = dhcpctl_new_object (&host_handle, connection, "host");
exit (1);
}
- printf ("host name = %.*s\n", result -> len, result -> value);
+ printf ("host name = %.*s\n", (int)result -> len, result -> value);
#if 0
status = dhcpctl_object_remove (connection, host_handle);
#ifndef lint
static char copyright[] =
-"$Id: db.c,v 1.55 2000/08/08 18:11:22 neild Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
+"$Id: db.c,v 1.56 2000/08/11 01:26:08 neild Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
if (i == class -> hash_string.len) {
errno = 0;
fprintf (db_file, " \"%.*s\";",
- class -> hash_string.len,
+ (int)class -> hash_string.len,
class -> hash_string.data);
if (errno)
++errors;