22 lines
862 B
Text
22 lines
862 B
Text
$NetBSD: patch-ae,v 1.3 2008/09/19 19:16:45 joerg Exp $
|
|
|
|
--- src/linuxroutines.cpp.orig 2004-08-01 08:43:56.000000000 +0200
|
|
+++ src/linuxroutines.cpp
|
|
@@ -183,7 +183,7 @@ void libereMemoire(char *_pMemoire)
|
|
}
|
|
}
|
|
if(_pMemoire > 0)
|
|
- { fprintf(stderr, "libereMemoire() : can't release the address %x\n", (int)_pMemoire);
|
|
+ { fprintf(stderr, "libereMemoire() : can't release the address %p\n", _pMemoire);
|
|
}
|
|
}
|
|
else
|
|
@@ -457,7 +457,7 @@ char *locate_data_file(const char *const
|
|
for(const char **p = data_directories;; p++)
|
|
{ char *pathname;
|
|
if(*p == 0)
|
|
- { const char *subdir = "/share/games/powermanga/";
|
|
+ { const char *subdir = "/share/powermanga/";
|
|
pathname = &pathstring[0];
|
|
/*pathname=(char *)malloc(strlen(nomprefix) + strlen(subdir) + strlen(name) + 1);
|
|
if(pathname == 0)
|