~ubuntu-branches/ubuntu/utopic/numactl/utopic-proposed

« back to all changes in this revision

Viewing changes to distance.c

  • Committer: Package Import Robot
  • Author(s): Ian Wienand
  • Date: 2012-11-15 12:20:29 UTC
  • mfrom: (1.3.9)
  • Revision ID: package-import@ubuntu.com-20121115122029-df53pmew2v1ydcsg
Tags: 2.0.8-1
New upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
                sprintf(fn, "/sys/devices/system/node/node%d/distance", nd);
65
65
                dfh = fopen(fn, "r");
66
66
                if (!dfh) {
67
 
                        if (errno == ENOENT && nd > 0)
 
67
                        if (errno == ENOENT)
68
68
                                err = 0;
69
69
                        if (!err && nd<maxnode)
70
70
                                continue;