Replaced (char *) 0 by NULL.

This commit is contained in:
Roland Illig 2004-08-16 17:44:14 +00:00
parent b2605e09e9
commit 13e298c2ea

View File

@ -313,7 +313,7 @@ read_filesystem_list (int need_fs_type, int all_fs)
struct fs_data fsd;
while ((val = getmnt (&offset, &fsd, sizeof (fsd), NOSTAT_MANY,
(char *) 0)) > 0) {
NULL)) > 0) {
me = (struct mount_entry *) malloc (sizeof (struct mount_entry));
me->me_devname = strdup (fsd.fd_req.devname);
me->me_mountdir = strdup (fsd.fd_req.path);