lkml.org 
[lkml]   [1999]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: /dev/loop0 offset doen't work on /dev/scd0
From
Date
dwguest@win.tue.nl (Guest section DW) writes:

|> The current code in util-linux does
|>
|> #include <linux/posix_types.h>
|> #define dev_t __kernel_dev_t
|> #include <linux/loop.h>
|> #undef dev_t
|>
|> which is not very elegant but as far as I know works on all systems.

IMHO the right fix is to use __kernel_dev_t in <linux/loop.h> in the first
place.

--
Andreas Schwab "And now for something
schwab@issan.cs.uni-dortmund.de completely different"
schwab@gnu.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.088 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site