Deleted Added
full compact
df.c (125611) df.c (126643)
1/*
2 * Copyright (c) 1980, 1990, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 34 unchanged lines hidden (view full) ---

43 The Regents of the University of California. All rights reserved.\n";
44#endif /* not lint */
45
46#ifndef lint
47static char sccsid[] = "@(#)df.c 8.9 (Berkeley) 5/8/95";
48#endif /* not lint */
49#endif
50#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1980, 1990, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 34 unchanged lines hidden (view full) ---

43 The Regents of the University of California. All rights reserved.\n";
44#endif /* not lint */
45
46#ifndef lint
47static char sccsid[] = "@(#)df.c 8.9 (Berkeley) 5/8/95";
48#endif /* not lint */
49#endif
50#include <sys/cdefs.h>
51__FBSDID("$FreeBSD: head/bin/df/df.c 125611 2004-02-08 23:42:09Z iedowse $");
51__FBSDID("$FreeBSD: head/bin/df/df.c 126643 2004-03-05 08:10:19Z markm $");
52
53#include <sys/param.h>
54#include <sys/stat.h>
55#include <sys/mount.h>
56#include <sys/sysctl.h>
57#include <ufs/ufs/ufsmount.h>
58#include <err.h>
59#include <math.h>

--- 514 unchanged lines hidden (view full) ---

574
575 *str = 'n'; *(str + 1) = 'o';
576 for (i = 0, strptr = str + 2; i < cnt; i++, strptr++) {
577 strncpy(strptr, listptr[i], 32);
578 strptr += strlen(listptr[i]);
579 *strptr = ',';
580 free(listptr[i]);
581 }
52
53#include <sys/param.h>
54#include <sys/stat.h>
55#include <sys/mount.h>
56#include <sys/sysctl.h>
57#include <ufs/ufs/ufsmount.h>
58#include <err.h>
59#include <math.h>

--- 514 unchanged lines hidden (view full) ---

574
575 *str = 'n'; *(str + 1) = 'o';
576 for (i = 0, strptr = str + 2; i < cnt; i++, strptr++) {
577 strncpy(strptr, listptr[i], 32);
578 strptr += strlen(listptr[i]);
579 *strptr = ',';
580 free(listptr[i]);
581 }
582 *(--strptr) = NULL;
582 *(--strptr) = '\0';
583
584 free(keep_xvfsp);
585 free(listptr);
586 return (str);
587}
583
584 free(keep_xvfsp);
585 free(listptr);
586 return (str);
587}