summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/eject/eject/eject-2.1.1-verbose.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/eject/eject/eject-2.1.1-verbose.patch')
-rw-r--r--meta-oe/recipes-support/eject/eject/eject-2.1.1-verbose.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/eject/eject/eject-2.1.1-verbose.patch b/meta-oe/recipes-support/eject/eject/eject-2.1.1-verbose.patch
new file mode 100644
index 000000000..740360606
--- /dev/null
+++ b/meta-oe/recipes-support/eject/eject/eject-2.1.1-verbose.patch
@@ -0,0 +1,19 @@
1Kept to help with debugging
2
3Upstream-Status: Pending
4
5Signed-off-by: Morgan Little <morgan.little@windriver.com>
6
7--- eject-2.1.1/eject.c.tn 2005-08-24 11:27:42.000000000 +0200
8+++ eject-2.1.1/eject.c 2005-08-24 11:33:05.000000000 +0200
9@@ -638,7 +638,9 @@
10 unsigned char sense_buffer[32];
11
12 if ((ioctl(fd, SG_GET_VERSION_NUM, &k) < 0) || (k < 30000)) {
13- printf("not an sg device, or old sg driver\n");
14+ if (v_option) {
15+ printf(_("not an sg device, or old sg driver\n"));
16+ }
17 return 0;
18 }
19