diff options
author | Toomas Soome <tsoome@me.com> | 2020-05-24 10:10:03 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2021-03-09 22:55:15 +0200 |
commit | d893e05e2a64324d7059baefcbf7bd9872a32ad9 (patch) | |
tree | f657271eca4fe0bcf34a8245b377b4a95d9179d1 | |
parent | bfbf29e2d493eb4d7f76ee725d3229899602a088 (diff) | |
download | illumos-joyent-d893e05e2a64324d7059baefcbf7bd9872a32ad9.tar.gz |
13595 logadm: failing to build test programs
Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/cmd/logadm/conf.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/cmd/logadm/conf.c b/usr/src/cmd/logadm/conf.c index 25bcc4f63d..8c89150e97 100644 --- a/usr/src/cmd/logadm/conf.c +++ b/usr/src/cmd/logadm/conf.c @@ -443,7 +443,7 @@ conf_open(const char *cfname, const char *tfname, struct opts *cliopts) /* * possible future enhancement: go through and mark any entries: - * logfile -P <date> + * logfile -P <date> * as DELETED if the logfile doesn't exist */ @@ -688,6 +688,8 @@ conf_print(FILE *cstream, FILE *tstream) #ifdef TESTMODULE +int Debug; + /* * test main for conf module, usage: a.out conffile */ @@ -705,7 +707,7 @@ main(int argc, char *argv[]) if (argc != 2) err(EF_RAW, "usage: %s conffile\n", argv[0]); - conf_open(argv[1], argv[1], opts); + (void) conf_open(argv[1], argv[1], opts); printf("conffile <%s>:\n", argv[1]); conf_print(stdout, NULL); |