aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Files/ByteString.hsc
diff options
context:
space:
mode:
Diffstat (limited to 'System/Posix/Files/ByteString.hsc')
-rw-r--r--System/Posix/Files/ByteString.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/System/Posix/Files/ByteString.hsc b/System/Posix/Files/ByteString.hsc
index e560500..12bd39a 100644
--- a/System/Posix/Files/ByteString.hsc
+++ b/System/Posix/Files/ByteString.hsc
@@ -221,7 +221,7 @@ createDevice path mode dev =
withFilePath path $ \s ->
throwErrnoPathIfMinus1_ "createDevice" path (c_mknod s mode dev)
-foreign import ccall unsafe "__hsunix_mknod"
+foreign import capi unsafe "HsUnix.h mknod"
c_mknod :: CString -> CMode -> CDev -> IO CInt
-- -----------------------------------------------------------------------------