Skip to content

Commit

Permalink
Fix NDMP library vendor name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Feb 17, 2015
1 parent ffe7433 commit 01f19a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ndmp/Makefile.in
Expand Up @@ -170,7 +170,7 @@ ndmos.lo: ndmos.c
@echo "Compiling $<"
$(NO_ECHO)$(LIBTOOL_COMPILE) $(CXX) $(DEFS) $(DEBUG) -c $(WCFLAGS) $(CPPFLAGS) $(INCLUDES) $(DINCLUDE) $(CXXFLAGS) \
-DNDMOS_CONST_PRODUCT_NAME='"BAREOS NDMP"' \
-DNDMOS_CONST_VENDOR_NAME='"Planets Communications B.V."' \
-DNDMOS_CONST_VENDOR_NAME='"Bareos GmbH & Co. KG"' \
-DNDMOS_CONST_NDMJOBLIB_REVISION='"bareos-$(LIBBAREOSNDMP_LT_RELEASE)"' \
ndmos.c

Expand Down
4 changes: 2 additions & 2 deletions src/ndmp/ndmos_common.c
Expand Up @@ -101,8 +101,8 @@ ndmos_sync_config_info (struct ndm_session *sess)
sess->config_info->os_vers = unam.release;
sess->config_info->hostid = idbuf;

sess->config_info->vendor_name = NDMOS_CONST_VENDOR_NAME;
sess->config_info->product_name = NDMOS_CONST_PRODUCT_NAME;
sess->config_info->vendor_name = (char *)NDMOS_CONST_VENDOR_NAME;
sess->config_info->product_name = (char *)NDMOS_CONST_PRODUCT_NAME;

sprintf (revbuf, "%s LIB:%d.%d/%s OS:%s (%s)",
NDMOS_CONST_PRODUCT_REVISION,
Expand Down

0 comments on commit 01f19a0

Please sign in to comment.