From b51c7b1db28541e74e5acbd80e32e085b2e47dd9 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 27 Oct 2024 00:01:16 +0200 Subject: [PATCH] Fixed -eject for -indev, broken with commit b1d1edc --- xorriso/drive_mgt.c | 2 +- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xorriso/drive_mgt.c b/xorriso/drive_mgt.c index e7591c9e..c7f40edf 100644 --- a/xorriso/drive_mgt.c +++ b/xorriso/drive_mgt.c @@ -833,7 +833,7 @@ int Xorriso_give_up_drive(struct XorrisO *xorriso, int flag) do_eject= 0; } if(drive!=NULL) - isoburn_drive_release_v2(drive, (do_eject << 1) | no_calm); + isoburn_drive_release_v2(drive, do_eject ? 1 : no_calm); if(dinfo!=NULL) burn_drive_info_free(dinfo); } diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index ed147713..e2e0a908 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2024.10.06.093626" +#define Xorriso_timestamP "2024.10.26.220042"