updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / eject-unlock / eject-2.1.1-verbose.patch
blob44c05d8819dcdb453db4bb7ab03af8473c0eff72
1 diff --git a/eject.c b/eject.c
2 index b14d5f2..662ba54 100644
3 --- a/eject.c
4 +++ b/eject.c
5 @@ -709,7 +709,9 @@ static int EjectScsi(int fd)
6 unsigned char sense_buffer[32];
8 if ((ioctl(fd, SG_GET_VERSION_NUM, &k) < 0) || (k < 30000)) {
9 - printf("not an sg device, or old sg driver\n");
10 + if (v_option) {
11 + printf(_("not an sg device, or old sg driver\n"));
12 + }
13 return 0;