#include <lib/hsm.h>
-#ifdef linux
#include <string.h>
-#endif
+#include <getopt.h>
/*---------------------------------------------------------------------------
static void
usage(void)
{
- int i;
-
fprintf(stderr, "usage:\t%s [-b buflen] [-s sid] [-t token] "
"pathname attr\n", Progname);
exit(1);
size_t hlen;
char *name;
int opt;
- int i;
if (Progname = strrchr(argv[0], '/')) {
Progname++;
}
exit(1);
}
- fprintf(stdout, "rlenp is %d, value is '%s'\n", rlenp, bufp);
+ fprintf(stdout, "rlenp is %d, value is '%s'\n", rlenp, (char*)bufp);
dm_handle_free(hanp, hlen);
exit(0);