mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-22 11:04:51 -04:00
21 lines
563 B
Plaintext
21 lines
563 B
Plaintext
$NetBSD: patch-aj,v 1.1 2009/12/09 19:01:06 drochner Exp $
|
|
|
|
--- libbrasero-media/scsi-netbsd.c.orig 2009-10-21 23:47:35.000000000 +0200
|
|
+++ libbrasero-media/scsi-netbsd.c
|
|
@@ -164,14 +164,11 @@ brasero_device_handle_open (const gchar
|
|
int fd;
|
|
int flags = OPEN_FLAGS;
|
|
BraseroDeviceHandle *handle;
|
|
- gchar *rdevnode;
|
|
|
|
if (exclusive)
|
|
flags |= O_EXCL;
|
|
|
|
- rdevnode = g_strdup_printf ("/dev/r%s", path + strlen ("/dev/"));
|
|
- fd = open (rdevnode, flags);
|
|
- g_free (rdevnode);
|
|
+ fd = open (path, flags);
|
|
if (fd < 0) {
|
|
if (code) {
|
|
if (errno == EAGAIN
|