]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - eject/patches/eject-2.1.1-verbose.patch
Move all packages to root.
[people/arne_f/ipfire-3.x.git] / eject / patches / eject-2.1.1-verbose.patch
CommitLineData
38fa6f00
MT
1diff --git a/eject.c b/eject.c
2index 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];
7
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;
14 }
15