summaryrefslogtreecommitdiffstats
path: root/sysutils/eject
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/eject')
-rw-r--r--sysutils/eject/files/patch-aa7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/eject/files/patch-aa b/sysutils/eject/files/patch-aa
index aa38c14..20f9b91 100644
--- a/sysutils/eject/files/patch-aa
+++ b/sysutils/eject/files/patch-aa
@@ -1,5 +1,5 @@
---- eject.c.orig Mon Aug 21 18:49:55 2000
-+++ eject.c Mon Aug 21 19:00:45 2000
+--- eject.c.orig Tue Jan 4 23:42:12 2000
++++ eject.c Fri Apr 20 22:10:06 2001
@@ -43,8 +43,8 @@
extern int optind;
@@ -59,7 +59,8 @@
+ if (asprintf(device, "/dev/%sc", name) == -1)
+ return sts;
if (vflag || nflag) {
- printf("%s: using device %s\n", program, device);
+- printf("%s: using device %s\n", program, device);
++ printf("%s: using device %s\n", program, *device);
}
- sts = stat(device, &sb);
+ sts = stat(*device, &sb);
OpenPOWER on IntegriCloud