Commit fdadd7c1 authored by Mike Hibler's avatar Mike Hibler

Fix a nit that clang pointed out.

parent 37c632dc
/*
* Copyright (c) 2000-2013 University of Utah and the Flux Group.
* Copyright (c) 2000-2014 University of Utah and the Flux Group.
*
* {{{EMULAB-LICENSE
*
......@@ -1229,7 +1229,7 @@ rewritecommand(char *redirect, char *command, char **server)
return -1;
bp++;
}
strncat(buf, bp, sizeof(buf) - strlen(buf));
strncat(buf, bp, sizeof(buf) - strlen(buf) - 1);
strcpy(command, buf);
fprintf(stderr, "%s, %s\n", command, *server);
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment