*/
/*
* Copyright (C) 2013, Trustees of Indiana University
+ *
+ * Copyright (c) 2014, Intel Corporation.
+ *
* Author: Joshua Walgenbach <jjw@iu.edu>
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <liblustre.h>
#include <lustre/lustreapi.h>
#include "lustreapi_internal.h"
{
char mapname[PATH_MAX + 1];
- snprintf(mapname, sizeof(mapname) - 1, "nodemap/%s", nodemap);
+ snprintf(mapname, sizeof(mapname), "nodemap/%s", nodemap);
return get_param(mapname, NULL, 0);
}