#include <cdecl.h>
#include "test.h"
-#define PROGNAME "outbuf"
+#define PROGNAME "rendertest"
static const char *progname = PROGNAME;
static const char sopts[] = "n:ECVH";
static const struct option lopts[] = {
return -1;
}
- printf("%lu %.*s\n", (unsigned long)rc, -(n>0), line);
+ printf(n > 0 ? "%lu %s\n" : "%lu\n", (unsigned long)rc, line);
cdecl_free(decl);
return 0;
}