Skip to content

Commit

Permalink
remove debug setting. fix text
Browse files Browse the repository at this point in the history
  • Loading branch information
laffer1 committed Oct 17, 2021
1 parent 06bbef2 commit a19e03e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libmport/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SRCS= asset.c bundle_write.c bundle_read.c plist.c create_primative.c db.c \
autoremove.c
INCS= mport.h

CFLAGS+= -I${.CURDIR} -I/usr/include/private/ucl -DDEBUG
CFLAGS+= -I${.CURDIR} -I/usr/include/private/ucl
SHLIB_MAJOR= 2
MAN= mport.3

Expand Down
3 changes: 2 additions & 1 deletion mport/mport.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ main(int argc, char *argv[]) {
void
usage(void) {
show_version(NULL);
fprintf(stderr, "OS version is the installed system version and does not reflect config customization.\n");

fprintf(stderr,
"usage: mport <command> args:\n"
Expand Down Expand Up @@ -340,6 +339,8 @@ void
show_version(mportInstance *mport) {
char *version = mport_version(mport);
fprintf(stderr, "%s", version);
if (mport == NULL)
fprintf(stderr, "(Host OS version, not configured)\n\n");
free(version);
}

Expand Down

0 comments on commit a19e03e

Please sign in to comment.