Skip to content

Commit

Permalink
Fix build break in FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
piste2750 authored and Atsushi Abe committed Dec 4, 2020
1 parent 2e117ad commit be1b873
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/libltfs/fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ struct dentry * fs_allocate_dentry(struct dentry *parent, const char *name, cons
d->platform_safe_name = NULL;
} else if (name && !platform_safe_name) {
d->name.name = strdup(name);
update_platform_safe_name(d, FALSE, idx);
update_platform_safe_name(d, false, idx);
if (! d->name.name || ! d->platform_safe_name) {
ltfsmsg(LTFS_ERR, 10001E, "fs_allocate_dentry: name");
if (d->name.name)
Expand Down
4 changes: 2 additions & 2 deletions src/tape_drivers/freebsd/cam/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ BASENAMES = libtape-cam
AM_LIBTOOLFLAGS = --tag=disable-static

libtape_cam_la_SOURCES = cam_cmn.c cam_tc.c vendor_compat.c ibm_tape.c hp_tape.c quantum_tape.c
libtape_cam_la_DEPENDENCIES = ../../../../messages/libtape_freebsd_cam_dat.a ../../../libltfs/libltfs.la libtape_cam_la-reed_solomon_crc.lo libtape_cam_la-crc32c_crc.lo libtape_cam_la-ibm_tape.lo
libtape_cam_la_LIBADD = ../../../libltfs/libltfs.la ./libtape_cam_la-reed_solomon_crc.lo ./libtape_cam_la-crc32c_crc.lo ./libtape_cam_la-ibm_tape.lo
libtape_cam_la_DEPENDENCIES = ../../../../messages/libtape_freebsd_cam_dat.a ../../../libltfs/libltfs.la libtape_cam_la-reed_solomon_crc.lo libtape_cam_la-crc32c_crc.lo
libtape_cam_la_LIBADD = ../../../libltfs/libltfs.la ./libtape_cam_la-reed_solomon_crc.lo ./libtape_cam_la-crc32c_crc.lo
libtape_cam_la_LDFLAGS = -avoid-version -module @AM_LDFLAGS@ -L../../../../messages -ltape_freebsd_cam_dat
libtape_cam_la_CPPFLAGS = @AM_CPPFLAGS@ -I ../../.. -I ../..

Expand Down

0 comments on commit be1b873

Please sign in to comment.