~ubuntu-branches/ubuntu/vivid/parted/vivid

« back to all changes in this revision

Viewing changes to libparted/labels/gpt.c

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2014-08-06 15:21:03 UTC
  • mfrom: (7.2.35 sid)
  • Revision ID: package-import@ubuntu.com-20140806152103-fzqf39p3tf06eelm
Tags: 3.2-2
* Fix gptsync.patch not to try to perform pointer arithmetic on void *
  values.
* Remove unused label from udevadm-settle.patch.
* Configure with --disable-gcc-warnings, even when building from git.
  Making the build work with -Werror is too painful at the moment.
* Align new partitions created on fresh disks (LP: #1352252).

Show diffs side-by-side

added added

removed removed

Lines of Context:
359
359
  void *p;
360
360
  int fd;
361
361
  size_t mmoffset;
362
 
  void *mmp;
 
362
  char *mmp;
363
363
 
364
364
  fd = open ("/dev/mem", O_RDONLY);
365
365
  if (fd == -1)