]>
Commit | Line | Data |
---|---|---|
38fa6f00 MT |
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]; | |
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 |