Skip to content

Instantly share code, notes, and snippets.

diff --git a/usr.sbin/powerd/Makefile b/usr.sbin/powerd/Makefile
index 2890ca0..6df7072 100644
--- a/usr.sbin/powerd/Makefile
+++ b/usr.sbin/powerd/Makefile
@@ -3,6 +3,7 @@
PROG= powerd
MAN= powerd.8
+SRCS= acpi.c powerd.c powerd.h
#! /bin/sh
#set -x
c=1
TOTALFILES=0
DISTFILES="/usr/distfiles"
check_on_files()
{
local compflag=$1
diff --git a/test/debug/vnodeinfo.c b/test/debug/vnodeinfo.c
index 41f88c4..6335c23 100644
--- a/test/debug/vnodeinfo.c
+++ b/test/debug/vnodeinfo.c
@@ -9,14 +9,14 @@
*
*
* Copyright (c) 2004 The DragonFly Project. All rights reserved.
- *
+ *
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c
index 6b64ea1..3c22bd8 100644
--- a/lib/libkvm/kvm_proc.c
+++ b/lib/libkvm/kvm_proc.c
@@ -423,35 +423,52 @@ kvm_proclist(kvm_t *kd, int what, int arg, struct proc *p,
*/
static int
kvm_deadprocs(kvm_t *kd, int what, int arg, u_long a_allproc,
- u_long a_zombproc)
+ int allproc_hsize)
#! /bin/sh
# set -x
#
# Copyright (c) 2014 The DragonFly Project. All rights reserved.
#
# This code is derived from software contributed to The DragonFly Project
# by Antonio Huete <[email protected]>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
dumped core - see /var/crash/vmcore.0
Tue Feb 25 21:47:16 CET 2014
Version String: DragonFly v3.6.1.6.g1507ff-RELEASE #1: Tue Feb 25 11:12:19 CET 2014 root@:/usr/obj/usr/src/sys/GENERIC
panic: bgetvp - overlapping buffer
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <err.h>
#include <unistd.h>
#define MAXMSGLEN 1024
char ktext[MAXMSGLEN] = {0};
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <err.h>
#define KEYFILE "otpkey.dat"
#define MAXMSGLEN 1024
char ktext[MAXMSGLEN] = {0};
From 025c7794f89c68e80fe75c041b74b475388b1e2e Mon Sep 17 00:00:00 2001
From: Antonio Huete Jimenez <[email protected]>
Date: Sun, 29 Dec 2013 21:45:34 +0100
Subject: [PATCH] libhammer - Add a function to calculate PFS paths.
---
lib/libhammer/libhammer.h | 1 +
lib/libhammer/misc.c | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+)
diff --git a/lib/libhammer/Makefile b/lib/libhammer/Makefile
index e306021..d88ff51 100644
--- a/lib/libhammer/Makefile
+++ b/lib/libhammer/Makefile
@@ -1,7 +1,7 @@
# DragonflyBSD Makefile
LIB= hammer
-SRCS= crc32.c info.c misc.c stats.c
+SRCS= crc32.c info.c misc.c stats.c config.c